How to add controls to the client region of a tabstrip?

Glory

Well-known Member
Joined
Mar 16, 2011
Messages
640
I can't seem to drag and drop controls onto a tabstrip. When I select tab2, the controls don't disappear; they're jsut floating over the tabstrip.

How do I add controls to a tabstrip?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
You should be using a MultiPage control instead of a TabStrip if you want to embed controls within it.
 
Upvote 0
I've already done that, actually, because somebody mentioned on some random google hit that multipages are more versatile.

But I was just curious how to get a tabstrip to work at all, since my tabstrip isn't working at all.
 
Upvote 0
Someone will no doubt disagree with me, but tab strips must be the least useful control Microsoft has dreamed up.
 
Upvote 0
Some places I've looked talk about setting a "container" property through VBA, but that's at run-time, and can't be designed (except maybe using the immediate window...?).

There is no "Container" property displayed in the Properties window in VBA when I select my textbox... there's no "Container" property listed for any controls I can see in VBA's help... and the VBA help entry "Container Property" is telling me that it's a read-only property.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,882
Members
452,948
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top