I faced a problem in adding a close button to TabPages for RightToLeft TabControl, i found the solution in this video and i want to share it with you [Click Here](https://www.youtube.com/watch?v=Oa7sBOeOHoA)

Member Avatar
+0 forum 0

Hello Daniweb Community, I was wondering if there is a way to reset a tabcontrol. What I'm wanting to do is have it so when the user will click New it will reset all the tabpages to the way they were when they started the program up. I tried this TabControl1.TabPages.Clear() TabControl1.TabPages.AddRange({TabPage1, TabPage2, TabPage3, TabPage4}) But all it does it remove the pages then re-add them with all the data still there.

Member Avatar
Member Avatar
+0 forum 3

Hi all, I have a TabControl into which, at runtime, add a tabpage and a control to the tabpage created. I know how to create a tabpage. But I cant figure out a way how to create both at runtime. Thanks in advance, Yuvjeeth

Member Avatar
Member Avatar
+0 forum 3

Hi, I have a tabcontrol with 3 tabs. Every tab has a great deal of textboxes which I use to refresh the properties of an object. To save my time, I bind the textboxes.Text to the properties of my object. The main problem happens 'cause I can make the binding just when the properly tab is selected. The thing is there is no need to walk through the tabs sometimes, cause my Object can be deserialized, so I may want to perform the calculations whitout even having to fill all the textboxes. In other words, sometimes I won´t select all …

Member Avatar
Member Avatar
+0 forum 6

Hmm, normally, I just cut all those controls out and delete the GroupBox. But, it's not easy all the time, so me just wondering if there was a way to do it without touching the child controls. Remove the relationship? Or other otions?

Member Avatar
Member Avatar
+0 forum 12

I have a problem with vb.net tabcontrol in so far as I cannot change the individual tab widths. I can chang ethe sizecontrol to fixed and alter all of the tabs but not individually. Ordinarily it would not be a problem with the tabs autosizing by the text size, but I have sometimes in my programme tabs with no content which I would like to hide, this I thought would be easy as just give it no name, but the tab remains and the size seems to have a minimum which is too big. So to summerize. I want to …

Member Avatar
Member Avatar
+0 forum 9

I have been searching and having no luck...So anyway, what I need is a way to copy tab1's controls or items (like textboxes,datagridview etc) and then have them pasted into a new tab. This would be done through a "New Tab" button. When that button is pressed, a new tab will open up and it should have all the same items that tab1 has. thanks for any help...

Member Avatar
Member Avatar
+0 forum 1

hi am using a tab control. in which i have already 3 tabpages. now the problm is that when the form is loaded the first tabepage must be enable while other will be disable to access untill i press the button that first tabpage is contain. is their solution for my problem. m waiting for reply.

Member Avatar
Member Avatar
+0 forum 2

Hi, I am using vs2005 with access 2003. In my windows application there is one tabcontrol which contains 2 tabpages with 2 crystal report viewer for each one. I have loaded data in form load event. It works great. Unfortunately the 2nd tabpage is not displaying the crystal report toolbar. The 1st page only shows the crystal report toolbar. Is there a way to solve this problem or can i print all the 2 tabpage report in a single click. Suggestions would be highly appreciated. Thanks in advance.

Member Avatar
+0 forum 0

Are there anyone know how to select a tab in tabcontrol using API? Any help will be highly appreciated.

Member Avatar
Member Avatar
+0 forum 2

Hello, I am building a web browser with tab control using VB 2010. I have everything working good so now I want to have it save the browser tabs when I shut down the browser and have them re-opened when I run the browser again like Chrome or Firefox would do. Thanks in advance for your replies.

Member Avatar
Member Avatar
+0 forum 5

Hi, I would like some insigth or help on the following issue that i am facing. I am building an empty validation module. where i validate my bound item whether they are empty or or not before save. I have a tab control with the said bound items. The thing is i could iterate through them and check them but it seem if the page is not visible or have been click it will not be considered and it will always return empty. [CODE] 'Get the original tab page index XtraTabPageIndex = FrmMain.XtraTabControl1.SelectedTabPageIndex 'Get the controls in the Main Form …

Member Avatar
+0 forum 0

Hi all, I'd appreciate if somebody could shed some light on the following; I have a tabbed container, each tab has the same controls but for a different target. I am using a timer to control when to fire each event from the 5 different tabbed controls, my problem is this. The event only fires when the focus is on that specific tab. So when an event on tab2 should fire, if i am looking at tab1 then tab2 event does not fire. BUT if i am looking at tab2 when the event should fire, then it does happen. I …

Member Avatar
Member Avatar
+0 forum 3

Maybe this is a bit too broad a question and too much code for this forum, but I'll give it a shot... OS: Win7x64 6.1.7601 py: 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] wx: 2.8-msw-unicode My question is more of a general nature than in regards to a specific problem to resolve: [INDENT]Am I making this more difficult than it needs to be, and is there a better way to handle a combination of navigation and validation events?[/INDENT] After searching far and wide for examples of code to manage both navigation between controls and validation of …

Member Avatar
+0 forum 0

is it possible that when you select the TAB1 you can't select the remaining tab???? thank you much!!!<3

Member Avatar
Member Avatar
+0 forum 1

Hello, I am building a webbrowser using VB.Net 2010, and I am having trouble updating the url when I switch between open tabs using tabcontrol. I am also using a textbox for the address bar. Any help would be appreciated Thanks!

Member Avatar
Member Avatar
+0 forum 15

Hi guys, Im starting a new project this week for my computing course and to be honest - i didnt like my last one as it had many forms which i thought was quite tacky. So i had a thought, how can i use for example, 1 or 2 forms but still be able to display the same amount of content. Similar to a web browser using tabs, its all still inside of the same "form/window" but has different sections. I thought about using the tabs that are in the tools section of VB10 but just wanted to know if …

Member Avatar
Member Avatar
+0 forum 4

Hi there all, First of all, I need to say that I'm so happy to join you... Second, I have a problem... First I created a form page with a constructor that fills the listbox in it... As you can imagine all stuff begins after filling it... However, a friend of mine said that it will be good to add a Tabcontrol into that form... I add it and "copy-paste" all the form controls in it... But now I cant access them, plus listbox is empty... :( Please help... TABCONTROL-FORM-ADO.NET stuff... [CODE] SqlDataAdapter cmd = new SqlDataAdapter("Select * From Ilgililer …

Member Avatar
Member Avatar
+0 forum 4

I'm having problems adding a new WebBrowser to the new created tab here is full code [CODE] Error 6 'Control' is not a member of 'DevComponents.DotNetBar.TabItem'. Public Sub AddTab(ByRef URL As String, ByRef TabControl As DevComponents.DotNetBar.TabControl) Dim NewBrowser As New CustomBrowser Dim NewTab As New DevComponents.DotNetBar.TabItem NewBrowser.Tag = NewTab NewTab.Tag = NewBrowser TabControl.Tabs.Add(NewTab) NewTab.Control.add(NewBrowser) < Line 6 error NewBrowser.Dock = DockStyle.Fill NewBrowser.Navigate(URL) End Sub 'nothing wrong with the Custom Browser Public Class CustomBrowser Inherits WebBrowser Private Sub DocCompleted() Handles Me.DocumentCompleted Dim TP As TabPage = Me.Tag If Me.DocumentTitle.Length > 10 Then TP.Text = Me.DocumentTitle.Substring(0, 9) & "..." Else TP.Text = …

Member Avatar
+0 forum 0

How do i move from one tab page to another with a single button click?

Member Avatar
Member Avatar
-1 forum 3

Hello, i have a question. I m using a Tabcontrol having 3 TabPages. on the Third TabPage i have some textboxes. Some Textboxes are used for inputs and some are for the calculated values. i.e I Take input for yarn cost per meter and by multiplying its value with total order qty i show the calculated value in other Textbox. The problem is when i edit a record and the SelectedIndex of TabControl is not TabPage 3 and when i save the record without moving to TabPage 3 i receive an error shows that Input String was not in Correct …

Member Avatar
Member Avatar
+0 forum 2

I have a project which is 98% complete. Its basically a Shop(till) interface. I have a form that has tabs the first being the main till, second shows a listview with everything in stock and the quantity of items in stock. Im stuck on one part of the program where when the form loads it checks the stock and if any of the items have a quantity less than 5 for example than it displays a message box to the user telling him/her to order new stock, but im not sure exactly how to do that. Can someone help me …

Member Avatar
Member Avatar
+0 forum 5

Hey guys! I'm planning on a private software, that I wish that have multiple pages, like a installer. It will not be a installer or anything, and I don't want to use tabs on it (it doesn't fit to what I'm thinking.) How can I do it? I've tought on multiple forms, but I don't see how can I load another form while I hide the current 'on-the-fly'. Thanks in advance!

Member Avatar
Member Avatar
+0 forum 4

I am using Visual Studio 2010, this should apply to any version of Visual Studio running a version of .Net with TabControl and TabPage. I want to create my own tabpage that I can add to a tabcontrol. I have tried creating a new class where I inherit System.Windows.Forms.TabPage but when I open the designer there is just a window that says "To add components to your class, drag them from the ToolBox and use the properties to set their properties. To create methods and events for your class, click here to switch to code view." I have tried both …

Member Avatar
+0 forum 0

I have a tabcontrol and two tab pages on the tab control. There are some fields on the tab pages which are databound to access database table which are populated using dataadapter. There is functionality to calculate total of the fields on both the tab pages when I click a button. When I load the form the record is retrieved and all the fields are populated with data. when I click the button without navigating to the second tab page then the total is calculated only for the fields that are on the front (first) tab page. It does not …

Member Avatar
Member Avatar
+0 forum 3

I have a problem that needs fixing How do you get all open tabs shown in a KryptonListbox My fail attempt : TabpagesHtml.Items.Add(Form1.SuperKryptonNavigator.Pages.Item(0)) : :@

Member Avatar
Member Avatar
+0 forum 2

Hey i want to open Tabpage 2 when i click button 1 on Tabpage 2, how to do it? :)

Member Avatar
Member Avatar
+0 forum 8

i want to make a custom tab control for my web browser but i have no clue how to do it. all I know is to set the draw mode to ownerdrawnfixed and use the paint event args but nothing else. please help, it would help with my ui. thx

Member Avatar
+0 forum 0

Hi guys ive got a problem in my Tab control. you see, i have 2 tabs in my form then inside it i i got a [B]ListView[/B]. What i want to do is when a user clicks on the [B]First Tab[/B] some buttons in my form will be disabled but if the user clicks the [B]Second tab[/B] it will be Enabled. Please Check the code below. [CODE] Private Sub tabUsers_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles tabUsers.Click Call usersTabActive() End Sub [/CODE] My Problem Is this. when i click the tabs nothing will happened or be disabled. unless …

Member Avatar
Member Avatar
+0 forum 2

Hello, I am working with form having multiple tabpages. I need to set the focus on first textbox of all tabpages. I tried to declare the following when the form loads, but only txtbox1.select() is working. Private Sub frmMaintab_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load txtbox1.select() 'First textbox under first tab page txtbox2.select() 'First textbox under second tab page txtbox3.select() 'First textbox under third tab page

Member Avatar
Member Avatar
+0 forum 2

The End.