Displaying a form in a tab menu

Hi…
I need to display a form (written as a separate file) in a tab menu… So on clicking the tab menu it should display the form…
At present i added it as to the layout through addComponent but it displays nothing…
Pls suggest a solution…

Thank You.

Could you provide a code fragment?

Is the sizing of your components correct? Have you tried the addTab() method

Thank You… there is an issue with layout.
Solved