Results 1 to 3 of 3

Thread: [RESOLVED] creating textboxes

Threaded View

  1. #1

    Thread Starter
    Fanatic Member merhaba's Avatar
    Join Date
    Sep 2002
    Location
    Istanbul,Bartin-Gallipoli(Gelibolu-Canakkale)
    Posts
    601

    Resolved [RESOLVED] creating textboxes

    Hi,
    The easiest way of creating many textboxes is copy and paste them on the form...But What I want to know is if is it possible to create as many textboxes as I want using a loop...
    just one click of a command button...I want each textboxes controller to be next to the other
    thanks

    VB Code:
    1. Private Sub Command1_Click()
    2. Dim tb As Long
    3. Dim x As Integer
    4. tb = InputBox("how many textboxes do you want?")
    5. For x = 0 To tb
    6. 'here I am not sure what to write
    7. 'text1(tb).text
    8. Next x
    9. End Sub
    sorry I forgot to say.. I already have one textbox on the form and it has a controller array index num=0
    Last edited by merhaba; Mar 6th, 2006 at 12:22 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width