Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you Create a Page Class in VFP 7?
Message
De
26/11/2002 14:54:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00726793
Message ID:
00727252
Vues:
18
In the Init of the form, where the PageFrame is created... after DODEFAULT() of course, you should resize the PageFrame and position it where you want.

All of my objects that are on the form (all 9 of them) are placed on the top of the form. I use the bottom most object to position the pageframe.

The following code would be placed in the init and resize of the form.

with thisform
.Pageframe.Top = .whatever.Top + .whatever.height + 5
.PageFrame.Left = 0
* width must be resized before Height
.PageFrame.width = .width - (.PageFrame.Left * 2) && equal left, right, bottom borders
.Pageframe.Height = .Height - Pageframe.Top - .PageFrame.Left
.PageFrame.Visible = .T.
endwith
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform