Mark Hagers points out that if you add a new event (by choosing New
Event
from the Edit menu) to the DoubleClickCanvas called "MouseDown" and
then
call this event in the MouseDown event of the DoubleClickCanvas class,
you
can detect double-clicks without losing the ability to detect MouseDown
events.
Thanks to Mark for the tip.
--
Geoff Perlman
President & CEO
REAL Software, Inc.
http://www.realsoftware.com
mailto:geoff at realsoftware dot com
Phone: 512-263-1233 x711
Fax: 512-263-1441
- - - - - - - - - -
Got a useful tip to share? Send it to us at:
REALbasic-tips at lists dot realsoftware dot com dot
For list commands, send "Help" in the body of a message to
<requests at lists dot realsoftware dot com>
|