![]() | ![]() |
|
Welcome to the HEXUS.community discussion forums forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! |
| |||||||
| Software and web development Databases, graphics, programming, scripting and web development. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| HEXUS webmaster | How the hell do I do this in VB? 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. |
| | |
| | #2 (permalink) |
| Member Join Date: Aug 2003 Location: Wimbledon
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
| 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' |
| | |
| | #4 (permalink) |
| I live in a giant bucket. Join Date: Jul 2003 Location: South Africa
Posts: 617
Thanks: 0
Thanked 0 Times in 0 Posts
| 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. |
| | |
| | #5 (permalink) |
| Member Join Date: Aug 2003 Location: Wimbledon
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
| 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? |
| | |
| | #6 (permalink) |
| HEXUS webmaster | 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 |
| | |
| | #7 (permalink) |
| Member Join Date: Aug 2003 Location: Wimbledon
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
| 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. |
| | |
![]() |
| Breadcrumb | ||||||
| ||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |