Home » Developer & Programmer » Forms » resize frames in runtime
resize frames in runtime [message #84576] Wed, 31 March 2004 23:02 Go to next message
loder
Messages: 5
Registered: March 2004
Junior Member
hello! i would like to resize a frame during runtime with Forms 6i. I know it is not possible to change graphics properties programmatically, but does any one know a work around ?
Thanks
Re: resize frames in runtime [message #84582 is a reply to message #84576] Thu, 01 April 2004 02:11 Go to previous message
magnetic
Messages: 324
Registered: January 2003
Senior Member
1 workaround is to creat a copy of the canvas
+ the items with the other size of the frame.
the trick is show the correct canvas depending on the conditions
tho this mechanism should a programmer avoid.

a second solution could be to creat 2 display-fields.
use this displayfields as a frame by putting all the items on it.
displayfields should be seen as layer 1 and the items on it as layer 2.
depending on condition, show/hide 1 of the 2 displayfields.
Previous Topic: Object List Report
Next Topic: maximizing Report
Goto Forum:
  


Current Time: Mon May 06 07:25:38 CDT 2024