tips
[Top] [All Lists]

More on adding a DoubleClick event to a Canvas control

To: "REALbasic Tips" <realbasic-tips at lists dot realsoftware dot com>
Subject: More on adding a DoubleClick event to a Canvas control
From: Geoff Perlman <geoff at realsoftware dot com>
Date: Thu, 13 Jul 2000 09:40:12 -0500
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>



<Prev in Thread] Current Thread [Next in Thread>
  • More on adding a DoubleClick event to a Canvas control, Geoff Perlman <=