Results 1 to 5 of 5

Thread: [RESOLVED] Change Combo Box Text through Another Combo Box

  1. #1

    Thread Starter
    Member M|sha's Avatar
    Join Date
    Apr 2005
    Posts
    48

    Resolved [RESOLVED] Change Combo Box Text through Another Combo Box

    For some reason this doesn't seem to be working. Any ideas?

    VB Code:
    1. Private Sub cboImageType_Change()
    2.  
    3. Select Case cboImageType.Text
    4.  
    5. Case "Regular":
    6. cboImageProp.Text = lblsRegular.Caption
    7.  
    8. Case "Hyperlink":
    9. cboImageProp.Text = lblsHyperlink.Caption
    10.  
    11. Case "Rollover":
    12. cboImageProp.Text = lblsRegular.Caption
    13.  
    14. End Sub
    Last edited by M|sha; Jul 26th, 2005 at 11:16 AM.

  2. #2
    Hyperactive Member johnweidauer's Avatar
    Join Date
    Sep 2002
    Location
    SLC, UT
    Posts
    314

    Re: Change Combo Box Text through Another Combo Box

    OnChange being if the value selected is changed.....also, obviously you have looked at this, but you use a Select Case, all values checked for do exist correct?
    To the world you may just be one person, but to this one person, you just might be the world.

  3. #3

    Thread Starter
    Member M|sha's Avatar
    Join Date
    Apr 2005
    Posts
    48

    Re: Change Combo Box Text through Another Combo Box

    No.. It's not checking to see if those values exist (I think that's what you're saying). It's checking to see if they were the ones selected out of the choices.

  4. #4

    Thread Starter
    Member M|sha's Avatar
    Join Date
    Apr 2005
    Posts
    48

    Re: Change Combo Box Text through Another Combo Box

    Here's a pic
    Attached Images Attached Images  

  5. #5

    Thread Starter
    Member M|sha's Avatar
    Join Date
    Apr 2005
    Posts
    48

    Re: Change Combo Box Text through Another Combo Box

    Got it.

    Private Sub cboImageType_Change()

    had to be

    Private Sub cboImageType_Click()

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