What does this "Hint" mean?
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Tue Dec 13 10:36:24 EST 2005
Hi Preston,
I guess that you tried that from a stack of yours that has no
specific menu bar.
To call a specific menu item in another stack, you have to be more
precise:
on mouseUp
send "menuPick New Card" to btn "Object" of stack "revMenuBar"
end mouseUp
Note that this form can't work in a standalone, in the IDE only where
the code in the revmenubar stack will do the job for you :-)
Best Regards from Paris,
Eric Chatonet
------------------------------------------------------------------------
----------------------
http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/
Le 13 déc. 05 à 16:19, Preston Shea a écrit :
> I pasted the doMenu example from the documentation:
>
> on mouseUp
>
> do menuItem "New Card" of menu "Object"
>
> end mouseUp
>
> And this error results:
>
> Type Chunk: error in chunk expression
>
> Object Button 1
>
> Line do menuItem "New Card" of menu "Object"
>
> Hint (&Object Inspector
>
> Can anyone tell me what the "Hint" means and/or why this script
> doesn't work?
More information about the use-livecode
mailing list