How to Set the Text of a Menu Item????

Devin Asay devin_asay at byu.edu
Tue Apr 4 16:54:23 EDT 2006


Dave,

On Apr 4, 2006, at 1:57 PM, David Burgun wrote:

> Hi,
>
> I have a pull down menu in a menu bar and I want to set the text of  
> item x to "Y".
>
> I have tried:
>
>
> set line 1 of the text of me to "Y"
>
> But I get a Syntax error!
>
> How do you set a menu item??

Menus are specialized buttons. Buttons can be treated as containers  
just like fields. Try this:

   put "Y" into line 1 of me

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list