Resizing a datagrid form

Klaus on-rev klaus at major.on-rev.com
Mon Apr 18 07:30:55 EDT 2011


Hi Trevor,

> On Sun, Apr 17, 2011 at 7:38 AM, Klaus on-rev <klaus at major.on-rev.com>wrote:
>> 
>> is it possible to resize the content of a datagrid form when the stack
>> resizes?
>> I mean the CONTENTS of the datagrid form, not only the groups rect!
>> Know what I mean?
>> Any hint very welcome :-)
> set the rect of group "Data Grid" to myNewRect
> 
> The data grid processes the resizeControl message which is sent to the group
> when the rect changes. The contents of the data grid will receive the
> LayoutControl message and everything will resize accordingly.

ah "layoutcontrol", that's what I was missing!
Thanks a lot!

> -- 
> Trevor DeVore
> Blue Mango Learning Systems

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the use-livecode mailing list