Results 1 to 3 of 3

Thread: about textbox

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    5

    Post

    How can i print the content of the array to the textbox which can fulfill follwing 2 task?

    1. can quick print out the array content into textbox
    2. each array content print seperate line into textbox

    Thanks



  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Sydney, Australia
    Posts
    196

    Post

    assuming your textbox is set for multiline = true

    dim MyString as string

    MyString = ""

    for i = lbound(MyArray) to ubound(MyArray)
    mystring = mystring & MyArray(i) & vbCrLf
    next i

    text1.text = MyString

    hope this helps.

    Mark

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    5

    Post

    Thanks. You can solve my problems !!!

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