Results 1 to 4 of 4

Thread: [resolved] ComboBox

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Posts
    143

    Resolved [resolved] ComboBox

    When I click on one of the options in the dropdown, I want the text to be displayed in a text box. What am I doing wrong?

    VB Code:
    1. Dim sText As String
    2. Dim lIndex As Long
    3.  
    4. sText = Combo1.Text
    5. lIndex = Combo1.ListIndex + 1
    6. ' Display the message box
    7. Text3.Text = "" & sText & ""
    Last edited by Hack; Feb 10th, 2006 at 06:41 AM. Reason: Added green "resolved" checkmark

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