|
-
Sep 27th, 2005, 08:44 PM
#1
Thread Starter
Hyperactive Member
Arrangement
I am developing an Application to calculate the CGPA. I want that the user enter the total number of subjects, then the application display the controls like texthbox and labels equal to the total no of subjects enterred. How I can do that.
Imran Ahmad Mughal
"Visual Studio .NET 2005/.NET Framework 2.0"
The eyes are the greatest telescopes, one will ever need to study the universe. Let the heart be the tripod, the mind be the shaft, then let the eyes become the lens of that great telescope of which God gave to us all.
-
Sep 27th, 2005, 09:00 PM
#2
Re: Arrangement
VB Code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim i As Integer
Dim j As Integer = 100
For i = 0 To 2
Dim t As New TextBox()
t.Name = "myTextbox" & i
t.Location = New Point(100, j)
Me.Controls.Add(t)
j += 25
Next
End Sub
edit: I just put a name of the textbox
Last edited by mar_zim; Sep 27th, 2005 at 09:19 PM.
-
Sep 27th, 2005, 09:12 PM
#3
Re: Arrangement
You could do it yourself, but you might find it easier with the DataRepeater control included with this library. I assure you that this library is free. We've already had that debate on a couple of other threads.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|