Hey guys, one of the clerks at work here just e-mailed me something that really boggled my mind. Asides from going web-based (not an option) I don't know how to do this.
They basically want to be able to add an object (went with label because that's basically what it is) after run time and be able to move that and position it within the bounds of panel.
This is as far as I got with it then I started scratching my head
Dim intWidth As Integer, intHeight As Integer
Dim Box1 As System.Windows.Forms.Label
intWidth = txtWidth.Text.ToString()
intHeight = txtHeight.Text.ToString()
Box1 = New System.Windows.Forms.Label
Box1.BackColor = System.Drawing.Color.Yellow
Box1.Size = New System.Drawing.Size(intWidth, intHeight)
Box1.Location = New System.Drawing.Point(216, 88)
Box1.Text = txtID.Text.ToString()
The above code executes but nothing happens, Im' sure I'm just missing something small, the next obstacle however is to allow them to move the label around, and create more then 1 (up to 50+)
Let me know any ideas you might have.
They basically want to be able to add an object (went with label because that's basically what it is) after run time and be able to move that and position it within the bounds of panel.
This is as far as I got with it then I started scratching my head
Dim intWidth As Integer, intHeight As Integer
Dim Box1 As System.Windows.Forms.Label
intWidth = txtWidth.Text.ToString()
intHeight = txtHeight.Text.ToString()
Box1 = New System.Windows.Forms.Label
Box1.BackColor = System.Drawing.Color.Yellow
Box1.Size = New System.Drawing.Size(intWidth, intHeight)
Box1.Location = New System.Drawing.Point(216, 88)
Box1.Text = txtID.Text.ToString()
The above code executes but nothing happens, Im' sure I'm just missing something small, the next obstacle however is to allow them to move the label around, and create more then 1 (up to 50+)
Let me know any ideas you might have.