• HEXUS
  • HEXUS.tv
  • channel
  • gaming
  • lifestyle
  • trust
  • community
  • ESReality
  • HEXUS.community discussion forumsVisit Corsair.com

    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!

    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Operating systems & applications > Software and web development

    Software and web development Databases, graphics, programming, scripting and web development.

    Reply
     
    LinkBack Thread Tools
    Old 20-12-2003, 05:03 PM   #1 (permalink)
    HEXUS webmaster
     
    Steve's Avatar
     
    Join Date: Nov 2003
    Location: Bristol
    Posts: 12,327
    Thanks: 47
    Thanked 239 Times in 158 Posts
    Steve's system
    View Steve's Twitter Profile
    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.

    Steve is offline   Reply With Quote
    Old 21-12-2003, 03:33 PM   #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'
    Mart is offline   Reply With Quote
    Old 21-12-2003, 04:09 PM   #3 (permalink)
    HEXUS webmaster
     
    Steve's Avatar
     
    Join Date: Nov 2003
    Location: Bristol
    Posts: 12,327
    Thanks: 47
    Thanked 239 Times in 158 Posts
    Steve's system
    View Steve's Twitter Profile
    Can't find it!

    The only section with <>'s in it is this one:


    Steve is offline   Reply With Quote
    Old 21-12-2003, 11:54 PM   #4 (permalink)
    I live in a giant bucket.
     
    eldren's Avatar
     
    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.

    eldren is offline   Reply With Quote
    Old 22-12-2003, 12:39 AM   #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?
    Mart is offline   Reply With Quote
    Old 22-12-2003, 09:29 AM   #6 (permalink)
    HEXUS webmaster
     
    Steve's Avatar
     
    Join Date: Nov 2003
    Location: Bristol
    Posts: 12,327
    Thanks: 47
    Thanked 239 Times in 158 Posts
    Steve's system
    View Steve's Twitter Profile
    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

    Steve is offline   Reply With Quote
    Old 22-12-2003, 10:33 AM   #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.
    Mart is offline   Reply With Quote
    Old 22-12-2003, 11:15 AM   #8 (permalink)
    HEXUS webmaster
     
    Steve's Avatar
     
    Join Date: Nov 2003
    Location: Bristol
    Posts: 12,327
    Thanks: 47
    Thanked 239 Times in 158 Posts
    Steve's system
    View Steve's Twitter Profile
    Excellent, thanks very much for the help guys - and no thanks to VB6, lol!

    Steve is offline   Reply With Quote
    Reply

    Breadcrumb
    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Operating systems & applications > Software and web development


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Trackbacks are On
    Pingbacks are On
    Refbacks are On




    All times are GMT. The time now is 08:43 PM.

    Any representations/statements made on the HEXUS.community discussion forums are the representations/statements of the author i.e. the person/organisation making them. If any such representations/statements are disputed they are a matter between the parties concerned.
    HEXUS Limited accepts no responsibility for any misrepresentations, inaccurate or false statements made by any person/organisation other than HEXUS Limited employees.
    For more information please read HEXUS Limited's terms, conditions and privacy policy.

    Hosted Exchange

    Powered by vBulletin® Version 3.8.4
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Content Relevant URLs by vBSEO 3.3.2
    © Copyright 2009 HEXUS® Limited. All rights reserved. Unauthorised reproduction strictly prohibited.