Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form won't stop growing wider
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00511659
Message ID:
00511723
Views:
19
John,

This seems to be a VFP "feature" when titlebar = 0. Its pesky, but not a problem at run-time.

If it bothers you, try setting the form's MaxWidth property to your desired width. This seems to stop the "growth". If you want the user to be able to resize the form, set MaxWidth back to default in the form's Init().

Jim E.

>I turned off the title bar to one of my forms and ever since, each time I bring up the form to edit it and then save it, it gets wider. I set it back to a width of 795 and next time I bring it up it's up to 801. Next time it's 805 etc. I finally just put some code in the load event to set it to 795 when it runs. It's over 900 now because I haven't set it back in a number if edits.
>
>Anyone got any ideas? I did a compile form but that made no difference.
>Thanks in advance,
>John.
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform