Results 1 to 2 of 2

Thread: listbox

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    1

    Exclamation

    what do i have to do if i have to display results in a list box. the input is entered in a text box and each result has to be displayed in the listbox. please help.....

    becky

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    ? not quite sure what you want, but this may help:

    Code:
    'When clicking the Command Button the Text1.Text will be transfered to the listbox
    Private Sub Command1_Click()
    List1.AddItem Text1.Text
    'Optional clear the textbox: Text1.Text = ""
    End Sub
    Is that what you needed?
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

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