• Combo Box Change event not firing on click (VB6)

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Combo Box Change event not firing on click (VB6)

    Author
    Topic
    #363889

    Okay, this is another, probably really basic, question.

    I have a standard ComboBox and I want to trap for change events so I can enable a Save button. If the user types something, it fires. If the user clicks on the drop down and makes another selection, it doesn’t.

    There doesn’t appear to be any event that fires for this (except the click event which fires before anything in the box is changed). Does anyone have a trick they use to trap for this event?

    Viewing 0 reply threads
    Author
    Replies
    • #556925

      The Click event in either a ComboBox or ListBox does not fire until a selection is clicked on, and then only if a change results. It is not fired when the dropdown button on a ComboBox is clicked (that is the DropButtonClick event). So the click event of the combobox should accomplish what you want.

      Andrew C

    Viewing 0 reply threads
    Reply To: Reply #556925 in Combo Box Change event not firing on click (VB6)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel