Results 1 to 2 of 2

Thread: [2005] Add / Remove Tab Pages

  1. #1

    Thread Starter
    Hyperactive Member Jonny1409's Avatar
    Join Date
    Mar 2005
    Posts
    308

    [2005] Add / Remove Tab Pages

    Hello,

    I have 6 tabs on a tabcontrol in my application.
    I would like to hide tabs 4 and 5, and only show the users tabs 1,2,3 and 6.

    I've searched on here and there is code to add / remove, but when I add it back in, it adds it to the end.

    Is there anyway I can add it in its original position ?

    I'm thinking something like save the current state, then bring this back but I don't know how to do this.

    Thanks.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Add / Remove Tab Pages

    As for all collections, you need to Insert rather than Add.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width