What about a mouse with a double-click button? Does that actually generate two clicks?
Dick McCullough knowledge := man do identify od existent done; knowledge haspart proposition list; ----- Original Message ----- From: "Robert Parlett" <[EMAIL PROTECTED]> To: "yhou4" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 11:17 AM Subject: Re: [Unicon-group] Question about double click event control? > On Wednesday 25 June 2003 7:03 pm, yhou4 wrote: > > Is there a way to get the double click event control of items in the > > TextList?It seems to me that I can only make selections in the TextList. > > > > Thanks for any help > > > > Yijue > > > Hello Yijue > > The _Dialog class has a member variable click_count which keeps track of > whether a particular click is a double (or treble etc) click. It does this > by simply recording the time of each click and looking at the interval > between clicks. > > So, if you just listen for clicks on the component you're interested in, and > then check if click_count=2 in your handler code, you can handle double > clicks. > > Hope this helps > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Unicon-group mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/unicon-group > > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Unicon-group mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unicon-group
