set selectedText?

Klaus Major klaus at major-k.de
Thu Nov 18 08:21:43 EST 2004


Hi Kaveh,

> What is wrong with this:
>
> set the selectedtext of btn 1 to "one"
> ?
>
> I get:
>
> Script compile error:
> Error description: Properties: token is not a property

The engine is right here ;-)

> How can I get an option button to select a particular text that is 
> already
> in the text of the button?

See below...

> Any background guidance as to what I am missing would be welcome!

You are looking for the "LABEL" property!

...
set the LABEL of btn "my option button" to "one"
...

Hope that helps.

> Kaveh Bazargan
> http://www.focalimage.com/
> http://www.holographer.org/

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list