>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)