Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Canvas MouseDown/MouseUp (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: Re: Packages in 4.5
Next thread: Re: DropObject weirdness - CONSEQUENCES


Re: Stopping a Thread   -   Stéphane Pinel <
  Canvas MouseDown/MouseUp   -   Stéphane Pinel <
   Re: Canvas MouseDown/MouseUp   -   Randall Meadows
   Re: Canvas MouseDown/MouseUp   -   Leonardo
    Re: Canvas MouseDown/MouseUp   -   Stéphane Pinel <

Canvas MouseDown/MouseUp
Date: 01.08.02 21:56 (Thu, 01 Aug 2002 22:56:52 +0200)
From: Stéphane Pinel <
I can do what I want in the Canvas 'MouseDown' event but can't get nothing
from the Canvas 'MouseUp' event. Nothing I could place in it occured when I
released mouse button pressure. Is there a tip or something or I
misunderstood what 'MouseUp' means ?

Thanks.

Re: Canvas MouseDown/MouseUp
Date: 01.08.02 21:57 (Thu, 1 Aug 2002 16:57:35 -0400)
From: Randall Meadows
At 10:56 PM +0200 8/1/02, Stéphane Pinel wrote:

>I can do what I want in the Canvas 'MouseDown' event but can't get nothing
>from the Canvas 'MouseUp' event. Nothing I could place in it occured when I
>released mouse button pressure. Is there a tip or something or I
>misunderstood what 'MouseUp' means ?

I think you need to return "true" from the MouseDown event in order
for the other mouse events to get fired.

Yeah, actually, I just looked, and this is documented.

---
Subscribe to the digest:
<mailto:<email address removed>>
Unsubscribe:
<mailto:<email address removed>>

Re: Canvas MouseDown/MouseUp
Date: 01.08.02 21:59 (Thu, 01 Aug 2002 16:59:14 -0400)
From: Leonardo
on 8/1/02 4:56 PM, Stéphane Pinel at <email address removed> wrote:

> I can do what I want in the Canvas 'MouseDown' event but can't get nothing
> from the Canvas 'MouseUp' event. Nothing I could place in it occured when I
> released mouse button pressure. Is there a tip or something or I
> misunderstood what 'MouseUp' means ?

The MouseUp event is only possible if the MouseDown event returns "true". So
put this code in the MouseDown event: Return true.
--
Leonardo Borsten
http://www.prepressmiami.com


---
Subscribe to the digest:
<mailto:<email address removed>>
Unsubscribe:
<mailto:<email address removed>>

Re: Canvas MouseDown/MouseUp
Date: 01.08.02 22:54 (Thu, 01 Aug 2002 23:54:55 +0200)
From: Stéphane Pinel <
Le 1/08/02 22:59, « Leonardo » <<email address removed>> a écrit :

> on 8/1/02 4:56 PM, Stéphane Pinel at <email address removed> wrote:
>
>> I can do what I want in the Canvas 'MouseDown' event but can't get nothing
>> from the Canvas 'MouseUp' event. Nothing I could place in it occured when I
>> released mouse button pressure. Is there a tip or something or I
>> misunderstood what 'MouseUp' means ?
>
> The MouseUp event is only possible if the MouseDown event returns "true". So
> put this code in the MouseDown event: Return true.
> --

Thanks to Leonardo and Randall.

A+
--
Sté