Usng an image to "disable" a group

Eric Corbett eric at canelasoftware.com
Sun Sep 21 17:13:30 EDT 2014


Hi Peter,

I guess I assumed when you said you were using an image to block controls that the image was of the group.

Can you take a snapshot of the group and then use that image as the disabled looking "group" by blending it and hide the real group?


On Sep 20, 2014, at 9:20 AM, Peter Haworth wrote:

> I have a stack with a series of groups on it.  I need to control the order
> in which data is entered into the groups.  The obvious/easy way is to
> enable/disable the groups as needed but I'm not happy with the way groups
> look when they are disabled.
> 
> I vaguely remember a thread about using images to do this since clicks
> within the image don't make it through to the underlying controls.  When I
> tried this, clicks on buttons that were under the image did not trigger any
> mouse events on them, as hoped, but field controls still get focus and I
> can type into them.
> 
> It seems like this isn't going to work so looking for other ways to achieve
> this without having to go through every control in the group and adjusting
> their properties to disable them.  Alternatively, is there a way to control
> how a group looks when it is disabled?
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> _______________________________________________
> 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