10-26-2010 06:42 AM
How can I have a control visible over a tab control?
I don't want to place the control inside the tab, so I create it on the panel outside the tab.
I move it with arrows, but it's always shown behind the tab (both in Edit and operate mode), even if I select Control ZPlane Order >> Move to front.
As you can see in the attached file, the controls are shown over the tabs, but behind the tab body.
Solved! Go to Solution.
10-26-2010 06:48 AM
Hi vix,
I am not sure I understand your inside / outside the tab - but moving a control does not work because in this case the control remains on the same panel, while the tab is on its own panel. You may use cut & paste instead.
10-26-2010 07:03 AM
Hi Wolfgang,
I know that every tab page can be used as a different panel (as a matter of fact I can use InsertPanel AsTabPage( ) for example), and I'm able to create and/or move controls inside tab pages.
But I'm not able to have a single panel (named PANEL) and two controls on in (a TAB and a SLIDE for example), having the slide visible over the tab.
If I have a numeric and a slide, for example, I can move one in front of (or behind) the other with the "Control ZPlane Order" feature. With a tab this feature seems not working.
10-26-2010 07:53 AM
Vix,
I am not an expert with tabs and may be completely wrong, but in my understanding you can not have one single panel with a tab control and a slide control, because when you create the tab you automatically create a new panel and hence you arrive at two panels in total, your panel PANEL and a new TABPANEL...
Try to create a control on the tab and have a look in the UI header file - you will see that your control on the tab has a different name, e.g. TABPANEL_NUMERIC_52, instead of PANEL_NUMERIC_52
Sorry if I got it wrong...
.
10-26-2010 11:25 AM
Hi Vix,
Wolfgang is correct. You cannot have a control that is on the same panel as a tab control overlap the tab control. It can overlap the area that corresponds to the row of tab labels, but it cannot overlap the main body of the tab control. As Wolfgang pointed out, this is because a tab control is simply a collection of child panels and child panels cannot be overlapped by other controls in the parent panel.
Luis