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

Reply via email to