Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form resizing...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00357740
Message ID:
00357778
Views:
18
Barbara,

Curious- do the VMP base control classes have properties that let you specify if they should resize? IOW, a grid or an edit box should resize itself, and commandbuttons and labels should float with the bottom and / or right sides of the form. I haven't looked at VMP for a while, and wondered how their resize logic works.

>Frank,
>You need a resize method on your form that resizes each control when the form itself is resized. The one provide in Visual Maxframe Professional (VMP) is very good. I even took a class from the UT files, exchanged the base class of each of its many controls with VMP base classes with Search and Replace and the 'updated' class resized beautifully in my VMP form.
>
>Writing a resize method isn't difficult, but it IS tedious because you have to look at each control, and in the case of container classes like grids and pageframes, work your way down to the lowest level.
>
>HTH
>Barbara
>
>>to all,
>>how do you get forms to resize? if i make a form say 200 x 400 and center everything and then when
>>a user maximizes or resizes the form the form becomes all discombobulated. to get around this i've been
>>disabling the max and resize options. it works. all the professional applications seem to resize the
>>objects on the form as needed, is there an easy way?
>>thanks
>>frank
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform