Option Menu Problem

Trevor DeVore lists at mangomultimedia.com
Tue Apr 22 11:18:43 EDT 2008


On Apr 22, 2008, at 11:11 AM, Dave wrote:

> I have an option menu that is set dynamically based on a list of  
> items. The list can be empty, on the menu object I have the showName  
> property set true. When the list is not empty all works ok, when an  
> item is selected, the new selection is shown as the menu contents,  
> however when the list is empty the name of the menu object shows in  
> the object contents rather that it just being empty. If I set the  
> show name property to false then when the list is empty it shows as  
> empty in the contents but when not empty the selected item is not  
> displayed when selected.
>
> How can I get the desired effect?

Try setting the text to a space (" ") and disabling the menu when  
there are no items to select. Will this work for you?

Regards,

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.com




More information about the use-livecode mailing list