Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A big grid (like the old browse)
Message
 
À
27/02/2001 11:58:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00480119
Message ID:
00480464
Vues:
13
Add a Button to the form and in the Click event, place the following Code:

WITH THISFORM.MyGrid && I assume this is the name of your grid
lnWidth = .Width
lnHeight = .Height

lnFormH = THISFORM.Height
lnFormW = THISFORM.Width
Thisform.windowState = 2 && This maximises the form

.Width = THISFORM.Width*lnWidth/lnFormW
.Height = THISFORM.Height*lnHeight/lnFormH
ENDWITH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform