How could I resize the visible boundary of a group
(with many controls) to show only the rectangle of
the clicked control?
For example, in a new stack create 3 or 4 controls
(buttons, fields, images or graphics) and group them.
Using the pointer tool change the size of the visible
boundary of this group to show only a single control
of the group (without deleting the others controls).
All invisible controls are inside the group but outside
the visible boundary of this group.
How could I produce the same result by scripting?
I hace tried all possible combinations that I am
aware, but still could not produce the result that
I am looking for. The group content moves itself
when I change the boundary.
When you shrink the group, it does indeed move things around, so you'll
need to do the math to adjust the vscroll and hscroll. Something like
*set* the hscroll of me to the hscroll of me -(the left of me - the left of
the target )
*set* the vscroll of me to the vscroll of me -( the top of me - the top of
On Sun, Mar 19, 2017 at 6:43 PM, dunbarx via use-livecode <
[hidden email]> wrote:
> Untested, but something like:
> set the rect of grp "yourGroup" to the rect of control
> Craig Newman
> View this message in context: http://runtime-revolution.
> Sent from the Revolution - User mailing list archive at Nabble.com.
> use-livecode mailing list
> [hidden email] > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode >