Number of display lines on a Option Menu
mfstuart at cox.net
Wed Feb 13 13:02:04 CST 2008
Thanx for the reply.
What the original question was: how to set the number of lines that are
displayed when the user clicks open an Option button. I could not find the
property for this in v2.8.1. In actual fact, it is not there on the
Sarah placed an image of the v2.9.0 Inspector on her web site showing this
newly placed property to manually set the "menuLines" to a number.
Randy Hengst wrote:
> Hi Mark,
> It is possible to set the option menu choices via a script -- rather
> than entering them via the properties menu. That way you can have any
> number of choices that you need and then change the options choices
> so they are context sensitive. I used this method in a correct-the-
> sentence program I made for a local teacher (known frequently as
> Daily Oral Language in U.S. elementary schools). The correction
> button displays different choices based on the part of the sentence
> the students click on.
> If you have an option button called demo, then place this script in
> another button.
> put "one" & return & "two" & return & "three" into button "demo"
> The option choices will then be one, two and three in that order.
> You can also place the choices in a variable and then put the
> variable into the option button like this:
> local tOptionsTemp
> put "two" & return & "three" into tOptionsTemp
> put tOptionsTemp into button "demo"
> Now the button choices will read two, three
> Sorry if I missed the point of your original post.
> take care,
> randy hengst
> On Feb 12, 2008, at 6:18 PM, mfstuart wrote:
>> Awesome, thanx for the reply and image, Sarah.
>> I/we will be waiting for this next version (2.9.0) for this property.
>> Currently, I'm using 2.8.1 on WINXP.
>> Mark Stuart
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
View this message in context: http://www.nabble.com/Number-of-display-lines-on-a-Option-Menu-tp15426131p15463917.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode