Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing Forms
Message
From
04/08/2000 09:15:21
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00399196
Message ID:
00400968
Views:
16
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
Map
View

Click here to load this message in the networking platform