selectable property of button?

Mike Bonner bonnmike at gmail.com
Sun May 15 13:43:03 EDT 2011


There is a cantSelect property which will keep you from being able to
'select' it (Ie. grab it, showing handles for moving and resizing) but this
doesn't make it unclickable. It does make it so that you can't choose it
with the edit tool.

I think what you're looking for is the enabled property.  set the enabled of
button 1 to false.  Or set the disabled of button 1 to true. Both do the
same thing.

On Sun, May 15, 2011 at 11:27 AM, Slava Paperno <slava at lexiconbridge.com>wrote:

> I think I have a button with the "selectable" property set to false. This
> button remains active (i.e. runs its script when you click it) even when I
> am in the Browse mode and every other object in the card can be selected
> and
> edited. In the Application Browser, this is the only button with no check
> mark in the "sort by selectable" column. But I can't find the term
> "selectable" in the PDF User Guide or the Dictionary, and in the Properties
> Inspector for this button everything looks the same as for all other
> buttons. There's no property "selectable." It's probably a dumb question,
> but I hope someone can point me in the right direction. Thanks!
>
> Slava
>
>
>
> _______________________________________________
> 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