Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form resized by user
Message
From
13/04/2009 05:31:34
 
 
To
13/04/2009 04:59:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01394503
Message ID:
01394509
Views:
56
>>Dear All
>>
>>Is there any effective way of knowing if form was resized manually by user, or it was done by some form procedure.
>>
>>My first idea would be to set up some flag which I would set any time I am doing it programatically and reset afterwards,
>>so when form is manually resized flag could tell that it is actually user doing it.
>>
>>Is there any other/better way ?
>>
>
>Hi Sergio -
>
>I think I'd use the flag approach, too.
>
>(Because it might be quite difficult to determine whether the user resizes interactively -
>while MDown() might often be true, I'd assume it can also be true when a slow user holds the mouse after clicking a button with a "Do Form ..." in Click().
>Or even more complicated if user uses the Alt+Spacebar Windows menu, and does a Move/Size/Minimize/Maximize there.)
>
>
>
>hth
>-Stefan

Thank You Stefan.
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform