Source language: Translate to:

Double click mouse

Share sample pubs, scripts, etc. with other NeoBook users

Moderator: Neosoft Support

Double click mouse

Postby Jim Brammer » Thu Feb 07, 2002 7:01 pm

Hello :-)

Here the Sample Pub for Detection double click on mouse Left or Right

Get it http://www3.nbnet.nb.ca/what/Garycool.zip

Also other cool code too..

Gary D

<hr>

Hi Gary,

Thanks again for uploading your Double Click routine. It'll be a lot of help!

I noticed though that you are using an infinite While loop for the comparison. I thought you might like to check out this demo for Double Click and, (since we were talking about it), a silly little Desktop example.

Double Click & Kiddy Desktop

This Double-Click routine is only activated when the first click has ocurred and the comparison lasts only for the duration of the Click/Timer Interval setting. So, if the Double-Click Speed Setting is 200 milliseconds, the entire comparison lasts only 200ms. Lots more efficient this way I think.  I hope it is of some use...

--------------
jim
NeoDezign @ http://neodezign.tripod.com

(Edited by Jim Brammer at 11:36 pm on Mar. 24, 2002)
Jim Brammer
 

Return to Sample NeoBook Pubs

Who is online

Users browsing this forum: No registered users and 2 guests