:filename and :select support for form-dialog

This commit is contained in:
David Botton 2021-02-24 13:53:28 -05:00
parent affe3dd05e
commit da89ed8c0f

View file

@ -73,15 +73,16 @@
(alert-dialog obj fname)))) (alert-dialog obj fname))))
(defun on-dlg-form (obj) (defun on-dlg-form (obj)
(form-dialog obj "Please enter your information." '(("Title" "title" (("Mr." "mr") (form-dialog obj "Please enter your information."
("Mrs." "mrs") '(("Title" "title" :select (("Mr." "mr")
("Ms." "ms") ("Mrs." "mrs")
("Other" "other"))) ("Ms." "ms")
("Name" "name") ("Other" "other")))
("Address" "address") ("Name" "name")
("City" "city") ("Address" "address")
("State" "st") ("City" "city")
("Zip" "zip")) ("State" "st")
("Zip" "zip"))
(lambda (results) (lambda (results)
(alert-dialog obj results)) (alert-dialog obj results))
:height 550)) :height 550))