Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving & Retrieving VFP Form positions
Message
 
 
To
14/05/2002 12:36:46
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00655670
Message ID:
00656418
Views:
14
>And just my personal preference here: instead of setting the four properties one by one, I rather call thisform.move(nTop, nLeft, nHeight, nWidth). The resize event happens only once, so if there's some code there, it gets executed only once.

I agree you should do this if you want the resize event to fire at all. Simply setting the properties in the Init, doesn't fire the Resize event. If you set it in the Activate event (or after), Resize fires.

I also didn't find a problem with the Resize event firing only once. Because of the single threaded nature of VFP, I believe the method that set the properties would finish before the Resize event was allowed to fire. Do your tests show something different?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform