Check Menu Items?
Richard Harrison
harrison at all-auctions.com
Sun Apr 21 23:37:00 EDT 2002
on 4/21/2002 1:08 PM, yves COPPE at yvescoppe at skynet.be wrote:
>
> try :
>
> put text of me into tMenu
> get the menuHistory of me
> if char 1 of line it of tMenu = "!" then
> repeat 2
> delete char 1 of line it of tMenu
> end repeat
> else
> put "!c" before line it of tMenu
> end if
> set text of me to tMenu
>
> I've done it so and it works.
Thanks for the code snippet!
Rick Harrison
More information about the use-livecode
mailing list