Results 1 to 3 of 3

Thread: Combo boxes again

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2002
    Location
    Notts,UK
    Posts
    25

    Combo boxes again

    I've got 2 combo boxes. I want to refer each Item in each combo to different label.
    Basically, When click Item in combo1 should be dispalyed in Label1 and Iem in Combo2 displayed in Label2
    any Idea

  2. #2
    PowerPoster cafeenman's Avatar
    Join Date
    Mar 2002
    Location
    Florida
    Posts
    2,819
    VB Code:
    1. Sub Combo1_Change()
    2.  
    3. Combo1_Click
    4.  
    5. End Sub
    6.  
    7. Sub Combo1_Click()
    8.  
    9. label1.caption = Combo1.list(Combo1.ListIndex)
    10.  
    11. End Sub

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2002
    Location
    Notts,UK
    Posts
    25

    Wink

    Thanx for that....

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