Click here to Skip to main content
16,006,348 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalright to left window Pin
Rizwan Bashir17-Jan-05 0:36
Rizwan Bashir17-Jan-05 0:36 
GeneralRe: right to left window Pin
Dennis C. Dietrich17-Jan-05 7:47
Dennis C. Dietrich17-Jan-05 7:47 
GeneralRe: right to left window Pin
Rizwan Bashir17-Jan-05 20:14
Rizwan Bashir17-Jan-05 20:14 
GeneralRe: Combobox in datagrid Pin
Ritesh123416-Jan-05 21:59
Ritesh123416-Jan-05 21:59 
Generallame_enc.dll Pin
victor_ba8516-Jan-05 19:41
victor_ba8516-Jan-05 19:41 
GeneralRe: lame_enc.dll Pin
Dennis C. Dietrich16-Jan-05 22:09
Dennis C. Dietrich16-Jan-05 22:09 
GeneralArray of controls Pin
Yulianto.16-Jan-05 16:18
Yulianto.16-Jan-05 16:18 
GeneralRe: Array of controls Pin
Rizwan Bashir16-Jan-05 22:17
Rizwan Bashir16-Jan-05 22:17 
its party time...... do the steps

' Form Level declaration

Friend txt() As System.Windows.Forms.TextBox

'Form Load
redim txt(0)

' on specified event where you need to display do this
' I am displying ths stuff in for loop on a panel control just to keep
' the scroll bar if it exceed the displying limit
put your for loop around this..... where count if the loop counter.

Me.txt(Count) = New System.Windows.Forms.TextBox
Me.txt(Count).Location = New System.Drawing.Point(left, top)
Me.txt(Count).Size = New System.Drawing.Size(200, 20)
Me.txt(Count).Text = count
' the panel control
pnlControls.Controls.AddRange(New System.Windows.Forms.Control() {Me.txt(Count)})
top = top + 21
txt(Count).Visible = True
txt(Count).MaxLength = 10

' if you want to put the events also paste this
AddHandler txt(count).MouseDown, AddressOf FunctionName
AddHandler txt(count).MouseUp, AddressOf FunctionName2
' remember the Function should be defined like this


Private Sub FunctionName(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs)
Msgbox "I am a happy man"
End Sub


Rizwan
GeneralRe: Array of controls Pin
Yulianto.16-Jan-05 23:27
Yulianto.16-Jan-05 23:27 
GeneralRe: Array of controls Pin
Dennis C. Dietrich17-Jan-05 7:06
Dennis C. Dietrich17-Jan-05 7:06 
GeneralRe: Array of controls Pin
Dennis C. Dietrich16-Jan-05 22:39
Dennis C. Dietrich16-Jan-05 22:39 
GeneralArray of controls Pin
Yulianto.16-Jan-05 16:06
Yulianto.16-Jan-05 16:06 
GeneralRe: Array of controls Pin
-Dr_X-20-Jan-05 14:03
-Dr_X-20-Jan-05 14:03 
GeneralProblem With Splash Screen Pin
kellydanielc16-Jan-05 13:56
kellydanielc16-Jan-05 13:56 
GeneralRe: Problem With Splash Screen Pin
Gavin Jeffrey17-Jan-05 0:43
Gavin Jeffrey17-Jan-05 0:43 
GeneralRe: Problem With Splash Screen Pin
kellydanielc17-Jan-05 0:54
kellydanielc17-Jan-05 0:54 
GeneralRe: Problem With Splash Screen Pin
Gavin Jeffrey17-Jan-05 1:10
Gavin Jeffrey17-Jan-05 1:10 
GeneralRe: Problem With Splash Screen Pin
Jodd19-Jan-05 14:55
Jodd19-Jan-05 14:55 
Generalquestion2 Pin
Makniteasy16-Jan-05 10:04
Makniteasy16-Jan-05 10:04 
GeneralRe: question2 Pin
Rizwan Bashir17-Jan-05 0:43
Rizwan Bashir17-Jan-05 0:43 
Generalquestion Pin
Makniteasy16-Jan-05 9:54
Makniteasy16-Jan-05 9:54 
GeneralContorl modification From Multiple location Pin
Member 152636216-Jan-05 8:19
Member 152636216-Jan-05 8:19 
GeneralAntiVirus w/ VB Pin
TheGOG16-Jan-05 7:16
TheGOG16-Jan-05 7:16 
GeneralRe: AntiVirus w/ VB Pin
Dave Kreskowiak18-Jan-05 3:57
mveDave Kreskowiak18-Jan-05 3:57 
Generalfill datagrid Pin
anom2m16-Jan-05 2:32
anom2m16-Jan-05 2:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.