selectable property of button?

Slava Paperno slava at lexiconbridge.com
Sun May 15 14:13:43 EDT 2011


Many thanks, Mike. "cantSelect" was the culprit, and I have now discovered
that clicking in that column of Application Browser has consequences :)

I am a better LC user now than I was ten minutes ago! 

Gratefully,

Slava

> -----Original Message-----
> From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
> bounces at lists.runrev.com] On Behalf Of Mike Bonner
> Sent: Sunday, May 15, 2011 1:43 PM
> To: How to use LiveCode
> Subject: Re: selectable property of button?
> 
> 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
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list