Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to minimum _screen
Message
De
07/06/1999 08:36:16
 
 
À
07/06/1999 07:28:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00226996
Message ID:
00227013
Vues:
36
>hi,
>
>when i run my program, i can click the "minimum button" from right-top of window (_SCREEN) to minimum.
>
>A. Can i make a button into my FORM to do the same function, what is the program inside .CLICK event ??
>

The form has a WindowsState property, just like the screen; by setting this property, you control the form attribute to minimize/maximize/make standard the frame for the parent (either a top-level form or the VFP main screen, depedning on how you created the form to behave.) This applies to (B) as well.

>B. And how about MAX. and CLOSE window ??
>

Close should trigger the form's RELEASE method; you'll need to write code to deal with any data in transition, and to decide if a CLEAR EVENTS is needed to start the application shutdown process.

>C. i have WinFaxPro 9.0 in my PC, while a open the WinFaxPro, a system panel will display on screen. And i can "MOVE" it just press & move on panel. Can i do it in VFP ??

If you mean can you drag a form around on-screen, sure; you may need to add code to keep it from auto-centering, or to move the child forms outside the parent window depending on how the form has been told to behave.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform