How to disable single menu items of a pull down menu?

dunbarx at aol.com dunbarx at aol.com
Sat Mar 21 18:05:53 EDT 2015


Hmmm.. I make a pullDown, and in another button:



on mouseUp
   disable menuitem 2 of  btn "pulldown"
end mouseUp


Click that button a bunch of times.


Now if I make yet another button with;


on mouseUp
   enable menuitem 2 of  btn "pulldown"
end mouseUp


And click it once, the menuItem becomes selectable.


Craig



-----Original Message-----
From: Kay C Lan <lan.kc.macmail at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Sat, Mar 21, 2015 12:52 am
Subject: Re: How to disable single menu items of a pull down menu?


Please note Dr Hawkin's recent post that this command is stackable, so if
you
accidentally disable the menuitem twice if you then issue a single
enable
command the menuitem will remain disabled.

Don't know who to link to old posts
but the Subject was "menuitems
accujmulating extra ( in them?"


On Fri, Mar 20,
2015 at 9:33 PM, Tiemo Hollmann TB <toolbook at kestner.de>
wrote:

> Hi Craig,
>
Oh shi... I thought this command was only for menues. Next time I will read
>
the dictionary more carefully
> Thanks
> Tiemo
>
>
> -----Ursprüngliche
Nachricht-----
> Von: use-livecode
[mailto:use-livecode-bounces at lists.runrev.com] Im
> Auftrag
> von
dunbarx at aol.com
> Gesendet: Freitag, 20. März 2015 14:20
> An:
use-livecode at lists.runrev.com
> Betreff: Re: How to disable single menu items of
a pull down menu?
>
> Tiemo.
>
>
> There is a "disable menuItem" command. Check
the dictionary.
>
>
> Craig Newman
>
>
>
> -----Original Message-----
> From:
Tiemo Hollmann TB <toolbook at kestner.de>
> To: LiveCode User Liste senden
<use-livecode at lists.runrev.com>
> Sent: Fri, Mar 20, 2015 6:50 am
> Subject: How
to disable single menu items of a pull down menu?
>
>
> Hello,
>
> I am using a
pulldown menu button and I would like to disable single menu
> items.
>
> Is
there a straight forward approach to change the color of a single menu
> Item
and disable it?
>
> Like "set the textcolor of line 2 of the text of btn
"myPullDownMenu" to
> grey" (what doesn't
> work)
>
> Thanks
>
>
Tiemo
>
>
>
>
>
>
>
>
> _______________________________________________
>
use-livecode mailing
> list
> use-livecode at lists.runrev.com
> Please visit this
url to subscribe,
> unsubscribe and manage your subscription
> preferences:
>
http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
_______________________________________________
> use-livecode mailing list
>
use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe
and manage your
> subscription
> preferences:
>
http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
_______________________________________________
> use-livecode mailing list
>
use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe
and manage your
> subscription preferences:
>
http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode
mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe,
unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
 



More information about the use-livecode mailing list