Page 3 of 3 FirstFirst 123
Results 81 to 106 of 106

Thread: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

  1. #81
    New Member
    Join Date
    Jan 2012
    Posts
    1

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Quote Originally Posted by gonks View Post
    ForumAccount you really are amazing! I'm using your tabcontrol as a user control from a c# project and it really rocks!

    I'd like to know if there's a way of selecting a tabpage programatically, since asigning the SelectedTabPage or SelectedIndex properties doesn't seem to work.

    Thanks for sharing such a useful control!
    How can I use the Vb-File in a C# project? I got a C# Project but can't figure out how to use the file...

  2. #82
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Quote Originally Posted by crazym1ke View Post
    How can I use the Vb-File in a C# project? I got a C# Project but can't figure out how to use the file...
    You can either compile it into an assembly and reference that, or you can convert it.

  3. #83
    Registered User
    Join Date
    Jul 2013
    Posts
    1

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    i hope ForumAccount still here his great tabcontrol was the reason i knew about this great forum ,so if you still here could you please add 'right to left' property to the tabcontrol , or if someone know how to do it please help me

  4. #84
    New Member
    Join Date
    Jan 2014
    Posts
    1

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    I'm having really hard time with this VSTabControl and C#.
    I've tried to convert it to .cs and use that file as specified with instructions but with no success!
    Could someone explain me how to compile it into an assembly and reference that?

  5. #85
    Member
    Join Date
    Jan 2014
    Posts
    44

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    This is really awesome... but I don't how to apply those class I download in my code T_T... I create a new just to see if I can do it...

    I create a new windows form application and create a new class(with those I downloaded) ... But sadly I fail... (sigh) is there any instruction how to apply those class?...


    (edit)

    I already solved my problem... thanks for this... I will credit you sir on my project... )
    Last edited by chrisTemper; Feb 23rd, 2014 at 11:03 PM.

  6. #86
    Fanatic Member Arve K.'s Avatar
    Join Date
    Sep 2008
    Location
    Kyrksæterøra, Norway
    Posts
    518

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    ForumAccount,

    Downloaded and tested your control today. Awesome work!
    Arve K.

    Please mark your thread as resolved and add reputation to those who helped you solve your problem
    Disclaimer: I am not a professional programmer

  7. #87
    Registered User
    Join Date
    Mar 2014
    Posts
    1

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Hi, I really like your VSTabControl. It represent exactly what i am looking for. I've tested it in a vb project and it works fine for me.
    There is just one issue for me ( a big one). I am now working in a C# project and i want to know how to do to use this vb component in a c# project.
    Thanks.

  8. #88
    New Member
    Join Date
    Sep 2014
    Posts
    1

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Quote Originally Posted by ForumAccount View Post
    Updated the control so that the tab's heights could be changed. This is all done through the Inflation property. TabWidthInflation property has been removed.

    Also fixed a couple bugs and glitches having to do with resizing and proper component selection from the designer.

    See screenshot.
    Why won't this .vb file download when clicked on. If I try to download the file is attachment.php

  9. #89
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Quote Originally Posted by dannycal View Post
    Why won't this .vb file download when clicked on. If I try to download the file is attachment.php
    I believe there is some trouble with your internet connection or probably some problem with VBF servers (but am not experiencing any issues while downloading it).

    So, try again after some time.

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  10. #90
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,331

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Love this control, but when I try to make the whole thing transparent like it shows in the first post, it gets really weird on me and labels from the other tabs start to bleed through. did i miss an easy step? I also can't see how to make the tabs transparent.

    oh an dhow do you call a specific tab?

    FrmMain.VisualStudioTabControl1.SelectTab(5)

    doesn't work

  11. #91
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Quote Originally Posted by phpman View Post
    Love this control, but when I try to make the whole thing transparent like it shows in the first post, it gets really weird on me and labels from the other tabs start to bleed through. did i miss an easy step? I also can't see how to make the tabs transparent.

    oh an dhow do you call a specific tab?

    FrmMain.VisualStudioTabControl1.SelectTab(5)

    doesn't work
    The way I select a specific tab in code is:
    vb Code:
    1. VsTabControl1.SelectedTabPage = SpecifcVisualStudiosTabPage
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All Threads • Colors ComboBox • Fading & Gradient Form • MoveItemListBox/MoveItemListView • MultilineListBox • MenuButton • ToolStripCheckBox • Start with Windows

  12. #92
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,331

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Thanks JuggalBrotha, but it still doesn't like anything after the = sign


    vb Code:
    1. FrmMain.VisualStudioTabControl1.SelectedTabPage = VisualStudiosTabPage6
    2. FrmMain.VisualStudioTabControl1.SelectedTabPage = "NameofTab"
    Last edited by phpman; Feb 9th, 2015 at 05:21 PM.

  13. #93
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Quote Originally Posted by phpman View Post
    Thanks JuggalBrotha, but it still doesn't like anything after the = sign
    vb Code:
    1. FrmMain.VisualStudioTabControl1.SelectedTabPage = VisualStudiosTabPage6
    I'm unable to replicate this, setting the SelectedTabPage property to the TabPage object itself works for me in both VS2008 (Targeting .Net 2.0) and VS2010 (Targeting .Net 4.0)
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All Threads • Colors ComboBox • Fading & Gradient Form • MoveItemListBox/MoveItemListView • MultilineListBox • MenuButton • ToolStripCheckBox • Start with Windows

  14. #94
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,531

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Quote Originally Posted by phpman View Post
    Thanks JuggalBrotha, but it still doesn't like anything after the = sign


    vb Code:
    1. FrmMain.VisualStudioTabControl1.SelectedTabPage = VisualStudiosTabPage6
    2. FrmMain.VisualStudioTabControl1.SelectedTabPage = "NameofTab"
    If it doesn't like it, then it must be giving you an error, right? What's the error message?

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  15. #95
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,331

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Sorry guys, error is:

    VisualStudioTabPage6 is not declared. It maybe inaccessible due to its protection level.

    Also, I can not see it in general drop down. I see VisualStudioTabControl1 but no tabs.

    running VS2013 Express and .NET 4.5.1

  16. #96
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,331

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Just a heads up, I can call the tabpage just fine from the main form, FrmMain, just not from any other file

  17. #97
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Quote Originally Posted by phpman View Post
    Sorry guys, error is:

    VisualStudioTabPage6 is not declared. It maybe inaccessible due to its protection level.

    Also, I can not see it in general drop down. I see VisualStudioTabControl1 but no tabs.

    running VS2013 Express and .NET 4.5.1
    You have a scope issue, what I would recommend is you create an Enum for each of the tab pages on the form (set the Enum to Friend or Public), then create a function (friend or public) for changing the tabpage with the enum as a parameter. In the function you use the enum to set the tab page.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All Threads • Colors ComboBox • Fading & Gradient Form • MoveItemListBox/MoveItemListView • MultilineListBox • MenuButton • ToolStripCheckBox • Start with Windows

  18. #98
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,331

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Thanks JuggaloBrother, but please forgive me ignorance. I know how to setup a enum, but I am not understanding how to use the enum to set the tabpage. have an example that would be great.

  19. #99
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Quote Originally Posted by phpman View Post
    Thanks JuggaloBrother, but please forgive me ignorance. I know how to setup a enum, but I am not understanding how to use the enum to set the tabpage. have an example that would be great.
    In the function you make to set the tab page you do a select case on the enum variable (or a bunch of If.. ElseIf's) and set the corresponding TabPage in that Case (or in the ElseIf).
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All Threads • Colors ComboBox • Fading & Gradient Form • MoveItemListBox/MoveItemListView • MultilineListBox • MenuButton • ToolStripCheckBox • Start with Windows

  20. #100
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,388

    My changes

    Ok ... here is my version ...

    VisualStudiosTabControl.vb

    • I fixed the tab re-ordering thing ... I see that the poster tried to do this ... but they rely on tab names to do the ordering ... instead of the objects themselves, so if you dynamically add the tabs the tabs were still being incorrectly re-ordered
    • Uses windows color schemes (don't know why so many people want to make their own up!)
    • SelectedTabChanging event added with the option to cancel the change
    • Removed the TabTipInnerColor as I think it is pointless
    • Changed the tip and "hover border" rendering


    Kris

  21. #101
    New Member
    Join Date
    Sep 2015
    Posts
    2

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Thanks for this control. It is just what I needed.

  22. #102
    New Member
    Join Date
    Oct 2015
    Posts
    1

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Hi!

    I downloaded the VisualStudioTabControl.vb, added it to my project, added the System.Design reference and rebuilt but I can't fint it in the Toolbox.
    I also get these three errors:
    1 Type 'Dictionary' is not defined.
    2 'element' is not declared. It may be inaccessible due to its protection level.
    3 Type 'List' is not defined.

    Any ideas?
    I use VS2012

    /Anders

  23. #103
    New Member
    Join Date
    Sep 2015
    Posts
    2

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Quote Originally Posted by Felten View Post
    Hi!

    I downloaded the VisualStudioTabControl.vb, added it to my project, added the System.Design reference and rebuilt but I can't fint it in the Toolbox.
    I also get these three errors:
    1 Type 'Dictionary' is not defined.
    2 'element' is not declared. It may be inaccessible due to its protection level.
    3 Type 'List' is not defined.

    /Anders
    You may need to add a reference to 'System.Collections.Generic'.

  24. #104
    Member
    Join Date
    Feb 2016
    Posts
    51

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Can the tabs direction changed to the right of the tabpages?

  25. #105
    Lively Member
    Join Date
    Apr 2014
    Posts
    122

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    This is great

    I am using the one modified by i00

    Are you able to change font and size of font on tab text, when I tried it made no difference

  26. #106
    Lively Member
    Join Date
    Apr 2014
    Posts
    122

    Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)

    Does any one know how I could draw a line on a tabpage using this ta control

Page 3 of 3 FirstFirst 123

Tags for this Thread

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