Results 1 to 3 of 3

Thread: Combo box control

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    Peterborough, Cambs, England
    Posts
    176

    Post

    Hi

    When ever I chnge the listIndex or text property of the combo box, the click event occures.

    Is there any way to stop this from happening because I want the code in the click event to be executed only when the user click on an item in the combo.

  2. #2
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386

    Post

    Sure you can, use a boolean which you set to true when you update the listindex in code, and set it back to false when you finished with that.
    In the click event, check if the boolean is true, and if it is, exit sub.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    Peterborough, Cambs, England
    Posts
    176

    Post

    Thanks!!!

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