Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container
Message
From
05/09/2002 20:10:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
05/09/2002 00:26:30
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00696871
Message ID:
00697313
Views:
10
>Hi Hilmar,
>
>Could you provide more info and a short code sample? Thanks

A form can not contain another form.

But since you probably want to show different parts of an application, depending on a condition, you can use a PageFrame. Just insert a PageFrame into your form. Then, select the individual pages, and insert objects into the pages.

When the user clicks on a specific tab (at the top of the pageframe), he will see objects on the corresponding page.

Or, you can hide the tabs, and activate a specific page programmatically - for instance, with a button click. I don't have VFP in front of me right now, but I think you change the PageFrame.ActivePage property.

HTH, Hilmar.
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