Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you Create a Page Class in VFP 7?
Message
 
À
26/11/2002 14:54:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00726793
Message ID:
00727261
Vues:
17
Gordon,

The problem was caused by the fact that when you set the pagecount property, VFP sets the activepage to 1. When I added the page using the addobject, the activatepage was not set. The 'appearance' was that of overlaying other fields.

Tks again.

>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
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform