Instantiaing Grouped Controls - Templates - Responsive
Mark Waddingham
mark at livecode.com
Tue Jun 13 01:45:57 EDT 2017
On 2017-06-12 22:22, Richard Gaskin via use-livecode wrote:
> For group controls you will find that it is. Try it. It's quite handy.
Another useful thing which I'm not sure is particularly visible (but is
in the dictionary!) is the group 'clipsToRect' property.
When 'the clipsToRect' is set to true you get a group which acts like
lockLocation is set, but is resizable. In this case the group's size is
determined purely by the rect it has set, and not the union of the
rectangles of its children.
This might have been mentioned somewhere else in this thread, but its
probably worth repeating if so as a group with clipsToRect true, and a
resizeControl handler makes a good base for a custom control.
Warmest Regards,
Mark.
--
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
More information about the use-livecode
mailing list