Re: Groupbox Programming Software Development by ShahanDev …For Each page As TabPage In TabControl1.TabPages ' picked GroupBox controls only in a separate variable ' to aviod …during loop Dim grpBoxes() As GroupBox = page.Controls.OfType(Of GroupBox)() For Each grpBox As GroupBox In grpBoxes ' iterate on … Groupbox Programming Software Development by sushilsth hi, i have 12 groupbox in each tabcontrol page. And i want to keep all groupbox in same location of same size overlapping each other. I want to make one function and apply to all groupbox. So that my code wouldnot be lengthy. But i didnot get idea to do so. so provide me some code and hints sir. would be greatfull. Re: Groupbox Programming Software Development by Reverend Jim You can iterate through all controls, or in this example, all controls of a given type. For Each ctrl As GroupBox In TabControl1.TabPages(0).Controls.OfType(Of GroupBox)() MyCustomSub(ctrl) Next Private Sub MyCustomSub(ctrl As GroupBox) . . . End Sub GroupBox selection and Winform Clearing Programming Software Development by korssane HI folks, I have 2 questions ; 1) i have 2 groupBox s and what i want is when i select a ( listbox item or radiobutton) in the 1st groupBox it disable ( or clear ) automatically the 2nd groupBox or the other fields ? 2) How can i clear all the fields in the Winform after clicking on my "Submit: button ? thank you very much GroupBox Equivalent in Java Programming Software Development by jk_bscomp Hello everyone!!! Does anyone here knows how to create a GroupBox in Java similar in VB.NET and C#. I hope you could help me with this one. YOUR HELP IS HIGHLY APPRECIATED..... Re: GroupBox Equivalent in Java Programming Software Development by Phaelax Read through this (assuming a GroupBox is what I think it is): [url]http://java.sun.com/docs/books/tutorial/uiswing/components/border.html[/url] groupbox in vb.net!!! Programming Software Development by sandli28 …, In vb.net2008 if we want to disable/enable the groupbox as per condition.Then how its possible when we used… Groupbox and Next Button Programming Software Development by dinesh012 hi i have problem with my VB.net program I have a form and 3 GroupBox in the same form. i want go next 2 GroupBoxes afther Clicking the Next Button.. Can you Help me ? plz.. GroupBoxes1 to next GroupBoxes2 next GroupBoxes3 Re: Groupbox and Next Button Programming Software Development by QVeen72 Hi, Are you using same "Next" button to goto Next GroupBox...? Regards Veena Re: Groupbox and Next Button Programming Software Development by ImZick … if statement for example during the load event only one groupbox is open let say groupbox1 visible is true and the… Re: enable/disable groupbox Programming Software Development by Piya27 …919794]yes,this is my problem actually after disabling the groupbox when i insert the record into database by clicking …its gives the error on textbox which specify in disable groupbox.Actually,I want that when user select the personal …working and when user select the joint account then this groupbox enable with textbox specify int it.but when i … Re: enable/disable groupbox Programming Software Development by sandli28 …right, you want to save into database after hiding the groupbox?? or may be there's some other problem??[/QUOTE] …yes,this is my problem actually after disabling the groupbox when i insert the record into database by clicking on…its gives the error on textbox which specify in disable groupbox.Actually,I want that when user select the personal … Please Help! - Moving labels inside a groupbox using vertical scrollbar Programming Software Development by get connected … load of information on my label in a groupbox on the form there is too much information… move the label up and down inside the groupbox so it can be read. The issue i…1: The label covers the bottom edge of the groupbox (looks a little naff) i need it to… fall inside the groupbox if possible. 2: Any movement on the vertical… C#.Net Groupbox Container Anchor not working Programming Software Development by tawboiid …App with a form which has a groupbox containing many controls. I have the groupbox anchored Top/Bottom/Left/Right to ensure…2 of the converted boxes and in both cases the groupbox refuses to auto anchor properly to the right and …autosizes to full screen as you would expect, but the groupbox and all its contained controls does not. Has anyone … Controls in groupBox "spilling out" of Border Programming Software Development by Michael27 … Button controls, and a combobox that populates the groupBox based on the selected number in combobox(8, 16…, 32). This is my populateGroupbox method private void populateGroupbox (GroupBox gBox, int number ) { for (int i = 0; i…or 32 controls kinda spill out of borders of groupBox, i need to find out a way so… How create dynamic GroupBox Programming Software Development by vishalonne …checkboxes and on that basis btaches will be displayed in groupbox for each branch. Branch1 Branch2 Branch3 Branch4 Branch5 if user…], true); int batch_count = ds3.Tables[0].Rows.Count; //filling the groupbox with batch code by generating dynamic checkboxes for (int i… Re: How create dynamic GroupBox Programming Software Development by vishalonne … += new System.EventHandler(CheckBoxCheckedChanged); } gpBox=new GroupBox[bran_count]; } String str = null; int count…{ str = c.Text; gpBox[gpcount] = new GroupBox(); gpBox[gpcount].Name = "gpBox" + … System.Windows.Forms.GroupBox..... Help Programming Software Development by winky …code] groupBoxes = new System.Windows.Forms.GroupBox[5] { groupBox1, groupBox2, groupBox3, …{ InitializeComponent(); groupBoxes = new System.Windows.Forms.GroupBox[5] { groupBox1, groupBox2, groupBox3, groupBox4,… Re: System.Windows.Forms.GroupBox..... Help Programming Software Development by Antenka … do this here: [code=c#] WeatherForecasts weatherForecasts; [/code] For initializing GroupBox you could use example from here: [url=http://msdn.microsoft….com/en-us/library/system.windows.forms.groupbox(VS.85).aspx]GroupBox Class[/url]. Also about other components: [url=http… Re: enable/disable groupbox Programming Software Development by sandli28 … want to use the text box from the groupbox then why to disable the groupbox at all? Or save the data from… that textbox into some variable and then disable the groupbox.[/QUOTE] actually its as per condition.I have a project… joint a/c for that i specify the textbox in groupbox.and if user select the personal a/c then these… MFC: Checkable GroupBox problem Programming Software Development by dpreznik …, I am using a custom control that is a GroupBox and a CheckBox instead of a common caption. I …[CODE] CRect rc; GetWindowRect(rc); // Get the rect of the GroupBox this->ScreenToClient(rc); // Change rc to be used for…on the same level as the top edge of the groupbox, as in case of single-line caption. The multiline… Re: Please Help! - Moving labels inside a groupbox using vertical scrollbar Programming Software Development by codeorder …: [QUOTE=Reply to thread 'Please Help! - Moving labels inside a groupbox using vertical scrollbar'‏]Dear codeorder, adsa2004 has just replied to… have subscribed to. Thread: Please Help! - Moving labels inside a groupbox using vertical scrollbar Forum: VB.NET[/QUOTE] ... and got a… NullReferenceException was unhandle when loop an Groupbox Programming Software Development by huskarit …Text) gboPassengerDetails.Hide() Dim gboNextPassenger(iNumberOfPassengers) As GroupBox For iCounter As Integer = 2 To iNumberOfPassengers …gboNextPassenger(iCounter) = New GroupBox Next With gboNextPassenger(iCounter) [COLOR="Red&… Re: How create dynamic GroupBox Programming Software Development by tinstaafl …. then according to whether the checkbox corresponding to a particular groupbox is checked, set visible to true or false. Then, whenever… branch checkbox is unchecked, clear the checkboxes for that particular groupbox, and whenever it's checked re-load the checkboxes from… Replacing groupbox automatically in foreach loop Programming Software Development by vishalonne … possible to iterate using foreach loop on multiple groupBox. I have 6 GroupBox named as gBox1,gBox2,gBox3,gBox4,gBox5,gBox6 AND… CODE foreach (var sgrpBox in batch_creation.ActiveForm.Controls.OfType<GroupBox>().OrderBy(g => g.Name)) { string gname = null; if… Re: Replacing groupbox automatically in foreach loop Programming Software Development by vishalonne … means 6 GB x 21 CB = Total 126 CB. Each groupbox represent period say Period1, Period2, Period3... Period and Shift option… SIX group Box. What I want is to automatically the groupbox name sholud change on each iteration as I am doing…. So don't have to write same code for all groupbox separately. I hope I am clear now Re: Replacing groupbox automatically in foreach loop Programming Software Development by tinstaafl … is close to correct, you were trying to access the groupbox just by it's name instead of as an object…: foreach (GroupBox sgrpBox in batch_creation.ActiveForm.Controls.OfType<GroupBox>()) { if (sgrpBox.Name.Substring(0… WPF-Change GroupBox Header Text Through C# Programming Software Development by KushMishra Hi All, I am creating a dynamic GroupBox through C# and want to change only the header font …and not all the fonts in that. GroupBox myGroupBox = new GroupBox(); myGroupBox.Header = mychk.Content.ToString(); myGroupBox.Content = myStack; Here… Re: enable/disable groupbox Programming Software Development by Piya27 … a/c for that i specify the textbox in groupbox.and if user select the personal a/c then…is a first textbox of joint a/c specify in groupbox. Regards, Sandeep[/QUOTE] can you please attach the … as i can guess..u want to disable the groupbox but also want to extract data from there also…).. or you may put that textbox outside the groupbox... Re: How create dynamic GroupBox Programming Software Development by vishalonne … at design time. It should be at run time. Means groupbox(s) should be generated at runtime as per selection by…