Checkbox question

Ken Corey ken at kencorey.com
Sat Feb 18 15:55:30 EST 2012


On 18/02/2012 17:42, Pete wrote:
> I have a stack which is used to show information in a display only mode,
> the user is not allowed to change any of the displayed values.  I want to
> use checkboxes in some cases.  How can I prevent the user clicking the
> check box and changing its state?
>
> I've currently got them disabled to achieve this but I'd prefer them to
> have their enabled appearance, just not allow them to be changed.  I've
> considered making images of the checkbox in its checked and unchecked
> state, disabling the checkbox and assigning the appropriate image as its
> disabled icon depending on the checkbox's state but wondering if there's a
> more straightforward way to do this.

I'd have to echo Ken here (sounds positively self-serving, eh Ken?)

Anyway, instead of playing with the response of the item, I'd have put a 
nearly-transparent widget over the top of the items (with just enough of 
a sheen so that it's obvious there *is* something on top), and then a 
panel explaining that no input is allowed.

-Ken




More information about the use-livecode mailing list