How To Create Dynamic Groupboxes In The Panel
Jun 30, 2010How can Create Dynamic Groupboxes in the Panel??and also create Radiobuttons in each Dynamic GroupBoxes??
View 1 RepliesHow can Create Dynamic Groupboxes in the Panel??and also create Radiobuttons in each Dynamic GroupBoxes??
View 1 RepliesI was trying to move some dynamic control within the parent container like panel or a group box how do i do that?
View 12 RepliesFirst problem: Clicking the addsplit image adds another row with the same data but an increased value to the end but when the 6th row is added (displays the scrollbar), only the bottom 5 addsplit image works (when scrolled to the bottom) instead of all of them working. How can I ensure that when the image is clicked, the scrollbar automatically scrolls to the bottom and also how to make all addsplit image work instead of the bottom 5 only?[code]....
View 1 RepliesEvery time i enter set of values like Group Name,Group Abbreviation,URL in the text boxes and click the save button automatically its saves in the database and for each set of values a new details view has to be generated dynamically with a web panel and the header of the web panel should have the value of Group Name.
Example:
[Code].....
A new details view with web panel like the above has to be generated every time the save button is clicked.
I need to center the red panel in the middle of the dark grey panel, when you resize the form the red panel should be in the middle, and the red panel can't be resize, anyone have a code or property to do this?
View 2 Repliescan anyone tell me how to set groupboxes to visible one by one on one forms if that form contains 10 groupboxes....
View 13 RepliesI have more than ten groupboxes and will increase in future so I am trying to something like this:all groupboxes are visible = false and there is a textbox which shows a random number from range of 0 to number of groupboxes..Now I want make a certain groupbox visible whatever number is textbox for example:textbox1_text change event:textbox1 = 6..so groupbox6 should be visible = true and rest of them should be visible = false..I tried it manually still its not working.
View 4 RepliesThis is in VB.NET 2003
I have a Form with a few GroupBoxes overlaying one another and being shown based on what the form's supposed to be showing at the moment.
What I want is to have a text object (label, textbox, whatever) be shown regardless of which GroupBox is visible at the moment. Labels that are not inside the GroupBox itself show up under it and are not visible (bringing to front doesn't help), similar issues with TextBoxes, Panels.. I don't know what else to use.
Am I missing something, is there another way of showing text that overlays GroupBoxes without being in them?
I have a question regarding the checkbox. Here is the scenario: I have three groupboxes which I have initially set as invisible. I have three checkboxes out to the side. If I check a checkbox, is it possible to have one of the groupboxes become visible just by checking the checkbox and nothing else. (I mean without clicking a button or anything, just clicking the checkbox and then having a groupbox become visible).
View 3 RepliesI wanted to have one choice enabled to the user(radio box) in two Groupboxes, is that possible? Is looping the why i should do it?
Public Class Form1
Inherits System.Windows.Forms.Form
Dim version As String
[code]....
I have set the following colors of my form /controls:
[Code]...
At design time, everything is ok but during the run time, I cannot see the text of labels / groupboxes.
I have a VB.NET (2005) application designed by my boss that uses a over 100 input and display controls (textboxes, comboxes, etc.), many with labels associated. My boss asked me to set the tab order, and then trap keypress so the user can use enter to navigate controls. I have 2 apps like this to work on.For the tab order, I could not use the View/TabOrder feature, since there are so many blue little tabindex popups showing, that I can not see any of the controls on the form to click. I tried clicking 'through' the popup with some success, but it still did not give me the tab order I wanted. The tab assistant that came with CodeSMART did not give me the result I wanted, either, so I could use it.
The controls on this usercontrol are spread among many groups, which in turn are spread among several splitcontainer panels. The 1st panel in the main splitcontainer has 3 main groupboxes which are selected via a toolstripbutton ( which sets the desired groupbox to visible and turning the others to invisible.) Example:
Private Sub ShowMainPanel()
'Note: Panels are groupboxes
Me.MaterialPanel.Visible = False
[code].....
I currently have a sub that has a string builder that I'm wish to use as the content of a CSV which I will email later from a webpage. My stringbuilder is creating the content for the CSV but I don't know how to create the CSV dynamically (I don't want the CSV on disk).
Private Shared Sub BuildClientTrustBalanceCSV(ByVal sb As StringBuilder, ByVal clientsWithTrustBalance As List(Of NonPaymentHistory))
If clientsWithTrustBalance Is Nothing OrElse clientsWithTrustBalance.Count = 0 Then
[code]....
how to create a table on a panel at runtime
View 3 RepliesIve got over than 120 groupboxes in my project which Contains radio buttons & Checkboxes control How can I save & retrieve the selection setting for these huge amounts of groupboxes when close my form and restart it?
View 16 RepliesI have a form as Dashboards. I want to automatically refresh data without the data being read from the database and the user are shown.What is the best late for this scenario? I did this using a timer, but the best for this scenario is late?
View 1 RepliesHow to create a dynamic report?
View 1 RepliesI need to create a label for every cell in excel that has a value depending on search criteria.Depending on what number is searched i need to display all cells in the row in different labels. There could be one label that needs to be created or many.Do i have to have each variable named differently or can i just use one label tag and give each label a different label.location = (x, y).
View 1 RepliesI am looking to create a custom slide in menu that will host all of my modules for my application. The part I need guidance on is how to create the animation for the panel to slide in and out. I am looking to have a button on my application and when a user click on it I want it to expand down and right to show available modules. Is this done with the slider panel or a canvas, custom animation or something else?
View 2 RepliesI am going mad trying to sort this logict
Public Sub Panels()
If RadPanelSearchCur.Visible = True Then
RadPanelTenant.Visible = False
'RadPanelProp.Visible = False
[code].....
the idea is if one panel is opened the others are closed?
I am trying to create two semi transparent panel.When I click on panel 1, the color is semi-transparent red. Panel 2 will become semi-transparent green. When I click on panel 2, the color is semi-transparent red. Panel 1 will become semi-transparent green.
Using class below:
Public Class TransparentPanel
Inherits Panel
Private mIsActive As Boolean = False
Public WriteOnly Property IsActive() As Boolean
[code].....
When I click on panel 1, it is semi-red, when I click on panel 2, panel 1 become semi-green. When I click back on panel 1, it seems to draw the semi-red on top and make it not semi-red but more red. The more click I do, the transparent is gone. Is there a way to drop the graphics and repaint it with semi-red? OR, is there a way to restore the graphics to its original state in semi-red? OR, is there a way to clear the graphics and repaint it with semi-red?
Is there anyway of creating a panel within a picturebox?
View 1 RepliesI was wondering if some of you can help me with a problem I can't seem to get around. I've got a database that contains a list of users who are connected to an application. The usernames and number of users connected will be random. What I need to do is to display two dynamic text boxes and also have a dynamic tooltip for each of the text boxes for each user displayed. If you look at the attached screenshot I drafted up, I'll only use the first user 'John' for this example.I will hardcode my example because getting the data from the database isn't the issue I'm having. My problem is figuring out how to make the text boxes and tooltips unique for each time someone visits the form. I would also like to be able to set the text within the boxes as well. So, I would need two textboxes for John called:
[Code]...
I am attempting to create a long range calendar that dynamically loads (and unloads) event data as the user scrolls left or right through time. I'm really struggling to figure out how to lay the basic framework of the UI out and how to dynamically build the interface as the user scrolls by clicking and dragging the mouse in the view area. See the image below for a basic diagram of the intent. Each slice would have potentially multiple rectangles in it for events that occurred on that day (slice). I would like each slice to be a canvas to allow me to position those rectangles appropriately.
There are a few problems that I am not yet sure how to tackle but this is the first big one that I've been mulling over for a while and can't quite wrap my head around:
I know how to dynamically create controls but how would I go about adding things to one end of the scrollable content while removing things from the other depending on the way the user is scrolling?
I'm trying to create a dynamic jagged array. That is, one that i can increase the size of at runtime. Maybe its easier if I show you. I have a folder containing a varied number of files. What I want to do is set up a jagged array, with the file contents as the second array. So kind of like this:
Code:
FileList(0)
Filelist (0) (0) = Line1
Filelist (0) (1) = Line2
Filelist (0) (2) = Line3
[CODE]...
However, it throws a System.NullReferenceExeption when I try that. In addition, I don't understand jagged arrays all that well....Here is my code (that doesn't work). The jagged array must be accessible by other methods.
Code:
Imports System.IO
Public Class Form1
Public Skills()()
[CODE]...
I have to ask my first question at some point, so here she goes.I am trying to create a dynamic list of objects. The objects will have several types (String, Integer) associated with them. Currently I am forming a Collection as I instantiate new objects.Is there a prefered to map this collection to, say, a Datagridview? Will I have to Iterate through the collection and add the rows at each iteration?Would I be better served using an ArrayList or something else over a Collection?
View 8 RepliesI'm triying to create a dynamic query to Entity FW (i'm using Self tracking Entities over EF)
This is what i'm doing:
Public Class Specification(Of TEntity As Class)
Private _predicado As Expression(Of Func(Of TEntity, Boolean))
Public Sub New(ByVal columna As String, ByVal condicion As OperadoresComparacion, ByVal valor As Object)
[Code].....
I am trying to create a dynamic string statement[code]...
View 7 RepliesCurrently I create a thread the following way (the normal way)
Public loginThread As Thread
Public loginThreadStart As New ThreadStart(AddressOf LogIntoWhatever)
Public callLoggedIn As New MethodInvoker(AddressOf loggedIn)
However, what I want to be able to do is something along the lines of (this obviously does not work, and is entirely pseudocode)
dim i as integer = 0
for i = 0 to i = 25
Public loginThread(i) as Thread
Public loginThreadStart(i) as New ThreadStart(AddressOf LogIntoWhatever)
next i
Public callLoggedIn as new MethodInvoker(AddressOf loggedIn)
Where I could change 25 to whatever I wanted and have that number of threads created. They would all be running an identical sub which does do not make calls of any kind to each other, they don't need knowledge of each other. Is anything like this possible?
Does this create a dynamic byte array?
Code:
Private m_renderedReport As Byte()()
Or this actually creates a structure?