Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Pageframe by Programming
Message
From
29/09/2005 09:00:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
29/09/2005 08:51:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01054430
Message ID:
01054438
Views:
16
>HI,
>
>How can I create a Pageframe on a Form
>
>Beste regards

Well, while I would prefer the visual design in this case, the usual way to add an object to a form is with AddObject().

Here is a sample:
ThisForm.AddObject("PgfMain", "PageFrame")
ThisForm.PgfMain.PageCount = 5
ThisForm.PgfMain.Visible = .T.
You will also want to adjust some of the properties .Top, .Left, .Height and .Width for the PageFrame.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform