Results 1 to 3 of 3

Thread: Cannot Raise Event

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    Houston, TX
    Posts
    342

    Unhappy Cannot Raise Event

    I have an ActiveX control with a Combo box that I am using in my project. The change event is mapped.

    If I start the project and select an item from the drop down, the RaiseEvent does not fire.

    However, if I pragmatically change the selection in the combo box (cmbProduct.text="Gear Oil"), it does.

    Any ideas?

  2. #2
    Fanatic Member simonm's Avatar
    Join Date
    Sep 2000
    Location
    Devon, England
    Posts
    796

    Arrow Combo Boxes

    This is not an event mapping problem, it is a feature/bug of standard VB combo boxes.

    When you select an item from a combo list, the 'Click' event is fired.

    When you change the text in a combobox (either programmatically or by the user) the 'Change' event fires.

    Basically then, you want to map the 'Click' event as well.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    Houston, TX
    Posts
    342
    That worked. Thanks for the info.

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