OK, I've managed to pick up a lot of VB myself so far, but this is really annoying me.
I have this options dialog set up. How the hell do I modify the other tabs? I can only "see" the first tab, I can't "get to" the others.
Cheers,
Unts.
OK, I've managed to pick up a lot of VB myself so far, but this is really annoying me.
I have this options dialog set up. How the hell do I modify the other tabs? I can only "see" the first tab, I can't "get to" the others.
Cheers,
Unts.
Do you mean how do you get to the other tabs to add controls in Visual Basic?
1 Right click on the tab control to get the properties window
2 Click the <> buttons in the top left where is says 'Current tab'
VB is eeeeeeeeeeeeevil! Tabs are index-based. That is, each tab is stored in an array, so the first should be something like ctrlTabs(0), the second ctrlTabs(1), etc. But with VB, you never know - they could be 1-based, as in, the first is ctrlTabs(1), etc.
Anyway, that's the right section - click the > button to get taken to the next tab's values.
Which version of the tab control are you using. The one i have installed is Microsoft Tabbed Dialog Control (sp5). My property page looks like this...
Do you have VB service pack 5 installed?
I installed SP5 - well I downloaded and ran it, but my tab property pages doesn't like like the one above.
Anyway, I can change the number of tabs, the captions, titles, tooltips etc. But in the form design view I can only add objects onto the first tab. That is the problem. Even if I go into the propery page and move along to another tab, it doesn't select that tab in the design view.
Help
My version of the tab control seems to work fine. In the designer to change tab all I have to do is click on the tab. I can add button controls to each tab with no problem.
Try checking the version of the tab control you are using. Right click on the toolbox and select 'Components'. Scroll down the list until you see the tabbed dialog control as below as below.
If you installed SP5 after you added the tab control to your form it is still probably referencing an older version of the control.
There are currently 1 users browsing this thread. (0 members and 1 guests)