Disabling MenuItems
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Fri Dec 9 12:32:28 EST 2005
Hi Dave,
I did not realised that you were interested by menuPick.
But the way to handle this is the same:
on menuPick pItem
put "u" & the short name of the target into tMenuName
do "put the" && the uLanguage of this stack & "[" & quote &
tMenuName & quote & "] of this stack into tMenu"
do "put the uEnglish["& quote & tMenuName & quote & "] of this
stack into tRefMenu"
put line lineOffset(pItem, tMenu) of tRefMenu into tRefItem
switch tRefItem
etc.
Best Regards from Paris,
Eric Chatonet
------------------------------------------------------------------------
----------------------
http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/
More information about the use-livecode
mailing list