Disabling popup menu items
monte at sweattechnologies.com
Tue Jun 29 22:29:20 CDT 2004
>>> It seems that option menus behave differently between OSX and Windows.
>>> Leading a line with "(" on OSX disables the line for the menu, yet on
>>> Windows it just leads the line with it.
>>> If you have an option menu on Windows, do you generally disable the
>>> item programmatically? e.g.
>>> disable menuItem 3 of button "myOptionMenu"
>>> Rather than with some leading character?
>> I believe there is no support for disabling menuItems in option and
>> box menus on Windows (I think this is only on MacOS). It's either a
>> HIG or
>> API issue. Whichever it is it's the same reason there's no support for
>> submenus on these buton styles on non-MacOS systems.
>> Is it possible to just set the text of the button to valid options.
>> seems simpler for the user too. I've seen users spend considerable time
>> trying to work out why something is disabled when it was completely
>> from an application design perspective.
>Well. That's a shame.
>How about divider lines? Same deal?
Yes.. you just see the dash and it's selectable.
More information about the use-livecode