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

Click here to load this message in the networking platform