Q: using combo boxes

Jim Lyons jimlyons at earthlink.net
Thu Jul 15 09:19:05 CDT 2004


I am missing something really basic about using combo boxes. The docs 
mention several places that a combo box is like a field: it gets the 
openField message when the user clicks in the field part and the 
closeField message if the user edits the field contents. Of course, it 
gets a menuPick message if the user picks a value from the menu, and it 
automatically enters the value into the field. I see how to handle the 
menu pick, but not how to get or set the value showing in the field. 
The contents of the control are the list of options in the menu -- 
getting or putting into the control refers to the whole menu. How do I 
get/set the contents of the field?

I have to add that, after l looked at the combo box in the Windows and 
Unix previews on my Mac, I wonder if I would ever use one. It's easy 
enough to make the same UI functionality with a field and a popup. I am 
using Rev 2.2.1 on Mac OS 10.3.

Jim Lyons



More information about the use-livecode mailing list