-
Jan 29th, 2012, 02:36 PM
#81
New Member
Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)
Originally Posted by gonks
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...
-
Jan 29th, 2012, 02:51 PM
#82
Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)
Originally Posted by crazym1ke
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.
-
Jul 23rd, 2013, 01:03 AM
#83
Registered User
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
-
Jan 13th, 2014, 06:59 PM
#84
New Member
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?
-
Feb 23rd, 2014, 10:37 PM
#85
Member
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.
-
Feb 24th, 2014, 05:03 PM
#86
Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)
ForumAccount,
Downloaded and tested your control today. Awesome work!
-
Mar 20th, 2014, 04:03 AM
#87
Registered User
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.
-
Sep 10th, 2014, 04:38 PM
#88
New Member
Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)
Originally Posted by ForumAccount
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
-
Sep 10th, 2014, 05:01 PM
#89
Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)
Originally Posted by dannycal
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,...
-
Feb 5th, 2015, 04:51 PM
#90
Frenzied Member
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
-
Feb 6th, 2015, 11:36 AM
#91
Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)
Originally Posted by phpman
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:
VsTabControl1.SelectedTabPage = SpecifcVisualStudiosTabPage
-
Feb 9th, 2015, 05:16 PM
#92
Frenzied Member
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:
FrmMain.VisualStudioTabControl1.SelectedTabPage = VisualStudiosTabPage6 FrmMain.VisualStudioTabControl1.SelectedTabPage = "NameofTab"
Last edited by phpman; Feb 9th, 2015 at 05:21 PM.
-
Feb 10th, 2015, 10:13 AM
#93
Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)
Originally Posted by phpman
Thanks JuggalBrotha, but it still doesn't like anything after the = sign
vb Code:
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)
-
Feb 10th, 2015, 11:16 AM
#94
Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)
Originally Posted by phpman
Thanks JuggalBrotha, but it still doesn't like anything after the = sign
vb Code:
FrmMain.VisualStudioTabControl1.SelectedTabPage = VisualStudiosTabPage6 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
-
Feb 10th, 2015, 01:10 PM
#95
Frenzied Member
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
-
Feb 11th, 2015, 04:16 PM
#96
Frenzied Member
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
-
Feb 12th, 2015, 09:20 AM
#97
Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)
Originally Posted by phpman
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.
-
Feb 12th, 2015, 02:26 PM
#98
Frenzied Member
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.
-
Feb 12th, 2015, 04:34 PM
#99
Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)
Originally Posted by phpman
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).
-
Aug 12th, 2015, 08:19 AM
#100
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
Last edited by i00; Aug 12th, 2015 at 08:44 AM.
-
Sep 2nd, 2015, 11:12 PM
#101
New Member
Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)
Thanks for this control. It is just what I needed.
-
Oct 22nd, 2015, 10:32 AM
#102
New Member
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
-
Jan 2nd, 2017, 09:07 AM
#103
New Member
Re: [.NET 2.0+] Visual Studios "My Project" Tab Control (Updated! 12/9/2009)
Originally Posted by Felten
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'.
-
Jan 19th, 2017, 11:54 PM
#104
Member
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?
-
Mar 17th, 2017, 03:46 PM
#105
Lively Member
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
-
Mar 31st, 2017, 01:18 PM
#106
Lively Member
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
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|