+ Reply to Thread
Results 1 to 3 of 3

Prevent ListBox Click Event Until Mouse Click

  1. #1
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Prevent ListBox Click Event Until Mouse Click

    Hi all,

    Gotta love how one problem resolution leads to others..

    With the ability to highlight a listbox item with a mouse scroll over has presented a new
    challenge. I've created a listbox_click event where I would like to be able to perform
    other actions depending on which item list is selected. The issue is the selection
    occurs with the mouse over and not a mouse click. Is there a way to differentiate the two? I need the event to activate another userform when a listbox item is selected with a
    mouse button click then trigger an event with mouse over.

    Please don't tell me API is my only solution.

    Anyone willing or able to help me resolve this challenge is again appreciated.

    Thanks,

    BDB
    Last edited by bdb1974; 06-08-2011 at 12:24 PM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Prevent ListBox Click Event Until Mouse Click

    Can you not use the mouse down event instead? Or maybe the double click
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Re: Prevent ListBox Click Event Until Mouse Click

    Well, for some reason I was having trouble with the double click event for the form
    but the mouse down works just fine.

    Thanks Andy!

    BDB

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1