Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Width adjusts itself - PITA
Message
From
03/10/2001 11:34:20
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00563613
Message ID:
00563655
Views:
21
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
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform