Number of display lines on a Option Menu

Sarah Reichelt sarah.reichelt at gmail.com
Tue Feb 12 00:23:12 EST 2008


> Is there a way to set the number of lines that will display for an Option
> menu button?
> By default there are 5 lines displayed. Can this be increased to display,
> say 15 lines, or whatever number I'd set it to?
> Scrolling thru a list of many items is inefficient to the user.

In the Inspector -> basic properties, there is a field for entering
the number of lines.
You can also set it by script using the menuLines property e.g. set
the menuLines of btn "MyLongMenu" to 15

Cheers,
Sarah



More information about the use-livecode mailing list