Disabling MenuItems
Lynch, Jonathan
bnz2 at cdc.gov
Wed Dec 7 16:38:25 EST 2005
It is easy to determine the position, even if you do not know what it
is:
For example, if line 5 of myList is "Hello", you do either of these:
Line 5 of myList
or
Line (lineoffset("Hello",myList)) of myList
Bear in mind that when you disable a menu item, the content of that line
actually changes... Also, you might want to set the wholematches to true
before you use lineoffset, to make sure you get an exact match.
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
LunchnMeets at aol.com
Sent: Wednesday, December 07, 2005 4:18 PM
To: use-revolution at lists.runrev.com
Subject: Re: Disabling MenuItems
This is an interesting thread. As long as we're talking about this...
Can menuitems be addressed by name rather than number? I don't always
have
the items in the same position.
Joe,
Orlando, Florida
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list