Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Container
Message
De
05/09/2002 20:10:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/09/2002 00:26:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00696871
Message ID:
00697313
Vues:
9
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform