Hide All Controls In A Groupbox?

Oct 24, 2010

Is it possible to hide all controls in a groupbox using code?

View 2 Replies


ADVERTISEMENT

Hide / Show A Groupbox On Clicking Radiobutton?

May 21, 2012

How to hide/show a groupbox of radio buttons on clicking another radiobutton ?

View 1 Replies

Looping Through Controls In A Groupbox

Nov 5, 2011

I have recently started to try to convert some of the applications I have written in VBA in excel into stand alone programs. I don't have any formal programming training and I am learning the hard way that VB is really not very close to VBA!! I am trying to change the properties of radio buttons in a groupbox when a certain event occurs. In VBA I used this code:

[Code]...

View 10 Replies

Resizing Controls In A GroupBox?

Jan 18, 2010

I have a windows form with a groupBox and several controls ( textboxes, checkboxes, one grid, labels ) in the groupBox. I want to make the form resizable , such that the controls would resize themselves when the form is resized instead of overlapping each other.I tried docking and anchoring in several ways, but I am not able to achieve this.

View 2 Replies

Adding Controls To Groupbox Only One Visible?

Mar 15, 2009

I am adding a several controls to a groupbox dynamically, but I can only see one of them. I am changing the location for each one just a little so so they should all be visible. When I count the rows in "dtOptionGroupOption it returns the correct #.

'Starting location for Options.
Dim intOptionLocationX As Integer = 0
Dim intOptionLocationY As Integer = 10

[code]....

View 8 Replies

Assign Controls In A GroupBox To A Thread?

Nov 27, 2010

1) Which one works better? BackgroundWorker or Multithreading?I have to do lots of processing in my application, I'm not too sure how the two of them works.

2) Can I assign controls in a GroupBox to a thread?Let's say I have to login to a certain forum twice with different accounts, so in GroupBox1 (thread1), I'll be logged in with username "asd", in GroupBox2 (thread2), I'll be logged in with username "zxc", and I have to do lots of processing (mostly html parsing) from there. Is this possible without stressing on memory usage? I'd like to keep my program memory usage under 10k.

[Code]...

View 7 Replies

Delete Controls Inside GroupBox?

Nov 24, 2010

I created a groupbox and then populate it with buttons during runtime. I also created a button, say Button1 to loop through the groupbox and delete those buttons.[code]...

View 2 Replies

VS 2008 Groupbox Controls Attaching To Each Other?

Apr 4, 2010

i have a list of links on a form and when you click one, it will set a specific groupx visible to true in a set position. So I have about 8 groupbopx control on this form. When I drag one out of the way and another in the form in design time, it seems they stay inside one another at times if they overlay. I don't understand this. Then some will not show at runtime depending where they arer left from design time even though I set the position to be in the form. This is completely different from vb6. Why are they staying inside other groupbox controls rather than being independent?

View 1 Replies

VS 2008 Reset Controls In GroupBox?

Jan 5, 2011

I have the following

Private Sub ClearAllEditableControlsInGroupBox(ByVal GB As GroupBox)
Dim myControl As Control
For Each myControl In GB.Controls

[Code]....

This code doesn't work because the strings returned in the select case block don't match any of the cases that are coded. I need a better way to do this, I imagine there is a more efficient way.

View 2 Replies

Why Do Controls Inherit GroupBox Control Properties

Feb 11, 2010

How do I turn off the ability for controls within a groupbox to inherit the groupbox properties. For example, my groupbox text has a fontsize of 9 and bold. Every Label control that I put into the groupbox defaults to the same. How can I change that?

View 2 Replies

Prevent Controls In Groupbox From Inheriting Font And ForeColor?

Apr 5, 2009

In runtime I'm programmatically changing the forecolor to all label and radiobutton controls placed in the groupbox.

The only thing missing is to set the groupbox text/caption forecolor, but as soon as I do so programatically all controls in the groupbox inherits the font type and color making the text hard to read on the Button controls placed within the groupbox.

View 6 Replies

Containers - Why All Contained Controls Within A Groupbox Do NOT Respond To Enabling / Disabling

Feb 10, 2011

I'm working on a winform which contains several controls like textboxes, radio buttons, datagridviews... All of these controls have been added to a main group box called gbDataEntry. My problem is when the user is seeing the form, I set gbDataEntry.Enabled = False but I want to enable some controls like DataGridviews so the user can scroll them. After disabling gbDataGridview I set DataGridView1.Enabled = True but it seems that the datagridview does not respond to this line. Why?

View 1 Replies

Make Groupbox's Controls Readonly When Is Radiobutton Clicked In Prorgram?

Jul 28, 2010

I have many textbox inside a group box so when radio button is clicked i want to make these controls readonly. Is it possible,and again on another radio button click again i want to make readonly false in vb.net.

View 1 Replies

IDE :: Hide Controls From The Toolbox?

Aug 2, 2010

I have a bunch of custom controls I've made - and these are by default added automatically to the Toolbox. A nice feature. However, I want to hide certain controls from the toolbox. Is there a way to do this?

View 1 Replies

Groupbox Items - Store Minimum 20 Linklabels In A Groupbox?

Jul 28, 2010

i have a sort of problem when i try to add some linklabels in my groupbox. I used this

Me.Controls.Add(Groupbox3)
Groupbox3.Controls.Add(FlowLayoutPanel)

I can only add 4 linklabels no matter how big is the groupbox, i tried autoscroll but nothing. How can i do to store minimum 20 linklabels in a groupbox? Here is the whole code i used:

Imports System.Net
Imports DevComponents.DotNetBar.Controls
Imports System.Windows.Forms[code]....

Is there any way, maybe with a specific reference to put a control that records what plays wmp activex and to save somewhere on your computer?

View 2 Replies

Silverlight: Hide Objects/user Controls Within Wrappanel?

Mar 5, 2012

I've got a WrapPanel which will contain several different custom UserControls. Depending on the scenario, I may need to filter down which UserControls are visible. My goal is that I can switch which controls are visible on the fly by showing/hiding the controls that need to be filtered - thus shifting the controls that are left showing, to the top-left of the panel.

Right now I am simply setting the Visibility property of the control to Visibility.Collapsed when I don't want them to appear. I thought that because I was using a WrapPanel, the rest of the controls would shift to the top-left of the panel.Instead, after hiding some of the UserControls, the controls that are still visible stay exactly where they were before, and I am left with gaps between the controls that are still showing. I've opened my app in Silverlight Spy, and it shows that the UserControls are still actually there (which makes sense) but are simply invisible.

So my question is: Is there a way that I can show/hide UserControls within a WrapPanel which allows the still-visible UserControls to slide to their new positions (all shifting towards the top left - similar to a StackPanel)?

I've debated removing the UserControls completely from the WrapPanel (I think this would work) and storing them in memory until they are needed. Then if I wanted to show/hide other controls, I would get them from my in-memory object. It seems like there should be a better way to do this though.

UPDATE:

XAML: (very simple)
<toolkit:WrapPanel x:Name="MyLayout" Height="300" HorizontalAlignment="Left" VerticalAlignment="Top" Width="400" />
Code-Behind: The UserControls are getting added dynamically:
MyLayout.Children.Add(oUserControl)

And they are getting set to collapsed dynamically as well:

oUserControl.Visibility = Visibility.Collapsed

View 1 Replies

User Controls Hide And Show In Main Form

Feb 8, 2012

I have a couple of user controls, which I show in my main form.

So let's say here's what i want:
Sub Show_Control1()
UserControl1.Show
'CODE TO HIDE EVERY OTHER DISPLAYED USER CONTROL ON THE MAIN FORM
End sub

Right now I have to hide them one by one with hide, because I don't know what's the current displayed form.

View 2 Replies

Hide / Show The Controls Depending On What Is Selected In Tree View?

Apr 8, 2010

Is there any examples with a treeview like this [URL] /scree...tinel-smod.png is it a case of having to draw each form how you would like to then hide/show the controls depending on what is selected in tree view????

View 14 Replies

Group Box On Top - Second Groupbox Does Not Appear And Is Directly Behind The First Groupbox

Jun 22, 2010

Here using VB .Net 2008. I seem to be having trouble getting group boxes to appear when I click a radio button.

For example:

CODE:

This indeed brings up the first radio button however I have other groupboxes underneath which with the same code will not appear when the radio button is checked.

Eg:

CODE:

The second groupbox does not appear and is directly behind the first groupbox. The Top code doesn't seem to be working either.

View 5 Replies

Hide/Show Items - Possible To Hide A Group Of Text Boxes From View In A Form

May 5, 2012

I'm curious if it is possible to hide a group of text boxes from view in a form until a particular condition is met, and to have a custom set of text boxes for that condition. To give an example; I want radio buttons offering choices for a manner of searching records, the user selects one and then a specific set of text boxes are displayed for the user to utilize, if a different option is chosen a different set of text boxes will be shown. Is this something that can be done?

View 7 Replies

Hide Any Dotnet Exe Is Hide Into Taskmanager In Windows 7 Using .net?

Mar 5, 2012

how to hide exe into task-manager in windows 7 using vb.net windows application?I want exe is hide into task-manager in windows 7 & windows vista machine using vb.net(windows application)

View 3 Replies

VS 2008 Hide The Taskbar O.o And Un-hide It?

Apr 20, 2009

Is there a way to to hide the taskbar o.o and unhide it?

View 1 Replies

Auto-hide Label After 10 Sec And After Label Hide Redirect

Jan 15, 2011

I have a label and button on label in my asp.net webform.i want when i click on button then label1 will be visible with text "Success" and then it will hide automatically after some time say 10 seconds.I M using asp.net (VB)How to auto hide label after 10 sec and after label hide redirect to the ~/Default.aspx ?

View 1 Replies

Using A Vscrollbar In A Groupbox?

Apr 16, 2009

Can a vscrollbar be used in a groupbox. I have a group box with lots of items in it, but my program window is not long enough to diplay all of it. I wan to tuse the scroll bar in the groupbox.

View 2 Replies

.net - Group RadioButtons Without A GroupBox In .NET?

Aug 26, 2010

I want to group RadioButtons, but I don't want to use the visible control GroupBox. Is there something like the Java ButtonGroup in VB.NET?

View 3 Replies

Add 16 Radio Buttons To A Groupbox?

Oct 26, 2009

I have a need to add 16 radio buttons to a groupbox but I want to be able to select 2 radiobuttons per groupbox. (2 vertical columns of 8 radio buttons each) The radiobuttons are created dynamically and each set of eight have different names to distinguish them. Do I really have to create 2 groupboxes and put each set of 8 in each groupbox and put those groupboxes into my parent groupbox? Is that it with radio buttons...if they are all in 1 groupbox then there is no way to select more than one at once?

View 1 Replies

Center The Caption Of A GroupBox?

May 20, 2011

I'm using VB with VSPRO2010 I have a groupbox with its caption on the top right . I would like to place the caption on the top center.

View 5 Replies

Changing Size Of A Groupbox?

Sep 26, 2009

okay well I want to be able to change the size of my Groupbox when I check my check box. I have tried this code and it did not work

If Checkbox7.checked = true then Groupbox1.size = (309, 446)

I don't get why this wont work, I tried others to but I cant get it to work.

View 1 Replies

Clearing All Textboxes In GroupBox?

Oct 5, 2011

I want to clear all of the text boxes in a groupbox without hard coding them all. I tried the following snippet, but it also clears all of the form labels which I would like to keep.
For Each TextBox In GroupBox1.Controls
TextBox.Text = ""
Next

View 2 Replies

Dynamic Groupbox And Checkbox

Jul 1, 2010

i am creating dynamic Groupbox and at a time i am creating checkbox in the groupbox. it`s working properly.How can "refer" or "call" the Dynamic Groupbox and Dynamic Checkbox.Clearly , If i am creating 10 GB`s and within GB`s for each GB i am creating two checkboxes OK.Now i want to use the checkboxes some other purpose. so how can i write syntax for that...?

View 11 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved