Tab Control.

  • Thread starter Thread starter Alex Feinman [MVP]
  • Start date Start date
A

Alex Feinman [MVP]

Typically Tab control is supposed to occupy the whole form and the child
control of the form become child controls of the tab pages, so the tab
positioning does not affect child control positioning
 
Hi I have used a Tab Control for my application on CE Device using C# .Net.
I ran the same application on my PocketPC device and the Tab control
position was reversed. That is, it was shown at the bottom.

Can that be avoided? I want to maintain the same position of the Tab
Control. Or is there any third party Tab control present?

This is because I have few more controls on the form other than the Tab
Control. So when the Tab Control position is changed, the other controls go
above the Tab control and that disturbs the whole UI.

Please help.
Amit.
 
Hi,

AFAIK there is no way to move the pages tabs to the top, it's the default
in the PPC winAPI,
you can do a couple of things though :

1- Insert two panels, the upper panel will contain the tab control and the
lower one will contain the other controls, you may have to make some
calculations in the form_load event in order to see all controls fine.
2- Detect when you are running on a PPC and resize/reposition controls
according.
3- Write your own control :)


I would go for the second one.

Cheers,
 
Back
Top