Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to auto resize the grid to feed the screen ?
Message
 
À
10/05/2007 04:40:09
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01224052
Message ID:
01224055
Vues:
16
>Hi,
>I have a grid on a Form, how can I auto resize the grid Hight and width
>to feed the FORM size when user click the maximize button of the form
>or minimize the Form ?
>I know the resize event was fire when click the maximize\minimize button,
>but how to check it is maximize or minimize the form ?
>
>Please advise.
>Thanks
>Derek

In Resize event of the form put:
DO CASE 
   CASE thisform.WindowState == 0
        ** Normal Window
   CASE thisform.WindowState == 1
        ** Form is minimized
   CASE thisform.WindowState == 2
        ** Form is maximized
ENDCASE
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform