newbee form layout

  • Thread starter Thread starter tony leake
  • Start date Start date
T

tony leake

Hi,

I want to create an app with several different 'pages'

A tab control would be perfect if i could turn off the tabs and change
the pages programaticaly. It doesn't look like this can be done, so what
would be the usual way to achieve this kind of interface.

Thanks for your help.
 
Hi,

I want to create an app with several different 'pages'

A tab control would be perfect if i could turn off the tabs and change
the pages programaticaly. It doesn't look like this can be done, so what
would be the usual way to achieve this kind of interface.

Thanks for your help.

What about setting each page up on a Panel then showing/hiding as needed?
You may also need to Dock/Undock.
 
tony said:
Hi,

I want to create an app with several different 'pages'

A tab control would be perfect if i could turn off the tabs and change
the pages programaticaly. It doesn't look like this can be done, so what
would be the usual way to achieve this kind of interface.

Create a panel on the form to serve as your "content panel". For each
"page", create a UserControl and then place them in the panel as
needed. You can create a List of these pages and show them and hide
them as needed.
 
Tony,

create your pages as user controls. Then add the pages to the form as child
and hide all. The show one form at a time as the user navigates through.
 
Stoitcho said:
create your pages as user controls. Then add the pages to the form as
child and hide all. The show one form at a time as the user navigates
through.

Sweet, job done.

thanks for to all who replied

tony
 
Back
Top