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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tab Control Problems

Status
Not open for further replies.

tnesbit

Programmer
Jan 18, 2007
12
US
Hi everyone,

I have been handed a fix for a screen that uses tabs. I have to add 3 new tabs, delete 1 tab and reorder the remaining tabs.

I have only used the tab control in VB6 and it was different.

I have right clicked on the Tab control and selected properties but don't see anyway to access the individual tabs properties. I don't see any Tab Captions and the index only has one entry.

I see the Insert Button (so I can add the new forms) but how do I access the existing 4 tabs to reorder them and change their captions?

Thanx,
tnesbit
 
Excel uses MultiPage forms for tabs. Is this what you need? The MultiPage has a collection of Pages, so it's quite easy to use.

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::perlDesignPatterns)[/small]
 
Hi Guys thanks for the quick response. I found the code that creates and paints and captions the tabs.


tnesbit
OBTW; the application was Access 2k.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top