Hi All,
Many Thanks for sharing your code! :D
This works great to fold and expand a group.
-- Fold a group
on mouseUp
set the rect of grp 1 to the rect of graphic "NODESTART" of grp 1
set the hscroll of grp 1 to the hscroll of grp 1 -(the left of grp 1 -
the left of grc "NODESTART" of grp 1
On 3/19/17 7:23 PM, Alejandro Tejada via use-livecode wrote:
How could I resize the visible boundary of a group
(with many controls) to show only the rectangle of
the clicked control?
Try setting the group's boundingRect to the rect of the control, then
setting the rect of the group.
--
Jacq
kTo"
>
> Craig Newman
>
>
>
> --
> View this message in context: http://runtime-revolution.
> 278305.n4.nabble.com/Changing-a-group-visible-boundaries-by-
> script-tp4713184p4713186.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
&
Hi.
Untested, but something like:
set the rect of grp "yourGroup" to the rect of control
"yourControlToShrinkTo"
Craig Newman
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Changing-a-group-visible-boundaries-by-script-tp4713184p471318
Hi All,
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
bounda