Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you Create a Page Class in VFP 7?
Message
 
To
26/11/2002 14:54:34
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00726793
Message ID:
00727261
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform