General information
Category:
Forms & Form designer
Hi Charlie,
This works great. I added five properties to my base class for my controls
ResizeFont, resizeheight, resizewidth, resizetop, resizeleft. Then i set them to 0 so if I do nothing the controls don't resize. So far the 0 and 2 seem to work the best as settings...
To top this off I am adding to my system table the position and size of the form so I can recall it when the form is opened again. This stuff is great!!
Is lnTotalColWidths for some future addition you are thinking about?
Thanks
John
>Hi John:
>
>Study this code for a while and you'll get the picture:
>
>
>
>*******************************************
>** Resize method of Resizeableform class **
>*******************************************
>LOCAL lnHeightRatio, lnWidthRatio, lcControls, lnTotalColWidths, lnSize
>
>WITH THISFORM
>
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only