Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing a Form With _vfp.resize
Message
 
 
To
30/06/2005 08:41:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01027522
Message ID:
01027635
Views:
56
This message has been marked as the solution to the initial question of the thread.
>Thank you very much Sergey. Pardon my ignorance on this one please. I am slightly confused as to where the code would go for this since I am using a form. This is a small utility app which has a main program and one form only. If I put the class definition in the main program then do I simply check for the existence of the form in the custom resize method and if it exists run my code based on the resize of _screen? I have not used bindevent in this manner so I am trying to figure out how it all will hookup...
>

You don't need a separate class. You can create a method on your form called OnScreenResize with relevant code and bind it to the _SCREEN Resize in the Init of the form
* Forms Init
BINDEVENT(_SCREEN, "Resize", Thisform, "OnScreenResize")
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform