On Jan 4, 2007, at 11:59 AM, Norman Palardy wrote:
On Jan 04, 2007, at 12:36 PM, Terry Ford wrote:
On Jan 4, 2007, at 11:20 AM, Norman Palardy wrote:
Charles shows you how to implement a double click in a listbox at
www.declaresub.com
Do you have a link? I can't find it.
just a vague memory that I'd seen it there
but I'm getting old :)
Still it should not be too hard based on the calls to get the right
double click time from the system and simply tracking the mouse
position and last click time
The problem with using the code from Charles, Geoff (in the Examples)
or Seth's is that they are written for a Canvas and respond on the
MouseUp event. They also depend on returning True in the MouseDown
event which basically disables any other click in a Listbox. You
cannot trigger the CellClick event or even select a row.
It's easy to modify it to use in the MouseDown event and Tailor it to
suit your desired results.
Terry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>