Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Width adjusts itself - PITA
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00563613
Message ID:
00563777
Views:
18
Hi Vlad,

Well, I'm positive it's not any code in the form. Another added quirk to this I just noticed. I have the forms width set to 695. I save and close the form and then open it again right away and the width has been changed to 679. This has me totally boggled. Any other thoughts?

>Hi!
>
>There are a couple of reasons why the width could be changed. You can catch the moment when this happens and tell for sure what cuase this - automatic VFP resizing or some programmer actions.
>
>Try to catch the moment when Form.Resize event is called or Width is changed. Do this by putting set step on in the Resize event or defining Width_Assign method on the form. In second case you will see where width is changed programmatically.
>
>In addition, you can set breakpoint in the load event of the form and define in whatches window entry to show form width value. then click to left from that entry to set a breackpoint on expression value - program will stop as soona s that value changed.
>
>
>>I have a form that has a vertical scrollbar. The forms width is set to 695 but after the form is saved and run the width is changing to 672. Any ideas on how to stop this? TIA
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform