Satimage Previous | Next
Popup Menu Button
Home Documentation Smile Custom GUI Developing your own custom dialog The controls Popup Menu Button  
control kind: 400

Event(s): menu selection sends click in to the control's container.
The list of the menu items, a list of strings that you can edit with the contextual menu, is the control's menu property. The control's contained data property stores the index of the item selected: an integer. To retrieve the string currently selected you have to explicitly read the menu property, like in:
set the_selected_string to item (get the_object's contained data) of (get the_object's menu)
Copyright ©2008 Paris, Satimage