Page 1 of 1

Geometry control looses control after field resized

Posted: Mon Nov 17, 2008 5:55 am
by sbswensen
I set up a card with geometry management controlling the card resizing and there is a button on this card that lets you change the size of a field in order to hide or show other fields on the card. Then when I resize the card the geometry manager reverts to the size of the field before it was resized.

Is there an easy way to update the geometry info so that I do not have to take control away from the geometry manager.

Appreciate the help..
Severin

Posted: Mon Nov 17, 2008 9:03 am
by Janschenkel
If you're doing your own resizing, you may be interested in the 'revCacheGeometry' and 'revUpdateGeometry' commands.

Jan Schenkel.

Posted: Fri Nov 21, 2008 6:38 am
by sbswensen
Just a quick note for future readers I added the following code after I resized a control in a button handler.

revCacheGeometry
send resizeControl

Thanks to Janschenkel for helping out.