Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bring forward label in front of tabstrip?

Status
Not open for further replies.

RustyAfro

Programmer
Jan 12, 2005
332
US
Excel 2000

When I insert a label onto a form and try to move it above a tabstrip, the label just goes into the the active tab. When other tabs are selected the label disappears but comes back on the original tab. I need a persistent label over all the tabs.

I tried using the Bring Forward and Send Backward to no avail. I even tried adding a label through code on the form and set the ZOrder(0), still stays in back of it.

Anything I can do via code or codeless?

Thanks everyone,

 
Is it really a tabstrip control or multipage? Normally, having tabstip, when you add a label to it (or any other control) it stays visible across tabs. Moreover, when the tabstip is dragged, all controls stay visible and at the same place.

combo
 
Hi Combo,

My mistake, it is a multipage.

So same question, anyway I can get a label to hover over a multipage? I don't care if the label is actually inside the multipage or not, just as long as it has the affect of appearing in the same place across all tabs.

Thanks,

Joel
 
I'm afraid you can't do it with native userform controls. Multipage is a child window. You can try with third party (or your own) controls with similar properties, however the final user will have to have the same control installed.
You can try to add frame with label to the userform, remove frame's caption and set it flat, set multipage style to 'buttons', but this will completely change the design, moreover the frame has to at least partially be directly on the form and will mask part of the multipage.

combo
 
Combo, thanks for the info, really appreciate it :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top