Datagrid: dgFormattedHeight geometry question
Yves COPPE
yvescoppe at skynet.be
Sat Aug 22 13:52:26 EDT 2009
Le 22-août-09 à 17:37, David Bovill a écrit :
> I'm having problems with the geometry of a datagrid - I have a row
> template
> of variable height with a disclosure toggle arrow - much like that
> in the
> Webinar. The problem is that the row templates at the bottom of the
> datagrid, when expanded do not increase the range of the vertical
> scrollbar
> of the datagrid resulting in records which you are unable to scroll
> down to
> view. RefreshList has no effect. The script I use to toggle the row
> templates expanded info group is:
>
> on DiscloseView someBoolean
>> lock screen
>> put the rect of me into oRect
>> set the visible of grp "Toggle" of me to someBoolean
>> LayoutControl oRect
>> RefreshList
>> unlock screen
>> end DiscloseView
>>
>
Re,
this point has been discussed abundantly this month.
The ti :
you have to set your rect first
then adapt the foramattedHeight
and set the rect again
see :
the question :
http://www.mail-archive.com/use-revolution@lists.runrev.com/msg122882.html
and the solution:
http://www.mail-archive.com/use-revolution@lists.runrev.com/msg122922.html
Greetings.
Yves COPPE
yvescoppe at skynet.be
More information about the use-livecode
mailing list