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/ [EMAIL PROTECTED]/
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?
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution