Message
From
22/12/2006 13:37:45
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01179361
Message ID:
01179810
Views:
13
>>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".

Ok,

If I recall correctly, the LittleLowerRighjtCorner download #25353 does a rubberband method of resizing. It does not actually does the resize until the mouse button is released.
Greg Reichert
Previous
Next
Reply
Map
View