Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Minimizing the main Foxpro window
Message
 
 
To
10/07/2002 11:01:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00677078
Message ID:
00677090
Views:
44
This message has been marked as the solution to the initial question of the thread.
>How can you trigger code to run when the main Foxpro window is minimized?

Try
_Screen.AddObject("oResizer", "Resizer")

DEFINE CLASS Resizer AS Custom
     oScreen = _Screen

     PROCEDURE oScreen.Resize
          IF _screen.WindowState =1
              * Main VFP Window is minimized
          ENDIF
     ENDPROC
ENDDEFINE
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform