Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine start and end of form resize
Message
 
To
21/12/2006 11:33:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01179361
Message ID:
01179725
Views:
10
>In my Form Resize class, I create two new properties on the form and initialize then to the current height and width. Then in the resize event, I get the new current height width for the respected properties and subtract them from the old one to get the differences. These I use to resize or move the other controls on the form. Once all the controls are resized, I update the properties I initially created with the current height and widths. During the resize event I have both the before and after sizes.
>
>check out Download #26423
>
>hope it helps.

Is not the "resize" method running all the time the left mouse is down while the form border "grabber" cursor shows. My project needs to do a process onl once - when the border is grabbed with a left click and when the border is relaeased by letting the mouse up. The process cannot fire while the border is beng moved. My project does not implement a snapto resizer - the resize events and positions of the form controls are all "bound" to the forms resize in "real time".
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform