<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 5/15/2025 1:02 PM, Joel Camera via Cuis-dev wrote:
<blockquote
cite="mid:CAKc5+ifg7kp8E+wifBROKT=Tres=w6rGtRYwk_oCOUKkyjeBHg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div dir="ltr">
<div>Hi again folks!</div>
<div>This is a proposal for the <font face="monospace">mouseButton2Down:localPosition:</font>
and <font face="monospace">mouseButton2Up:localPosition:</font><font
face="arial, sans-serif">. </font></div>
<div><font face="arial, sans-serif">The thing is that they
don't work the same as mouseButton1* that have a property
and if you set that property to the morph with a handler,
that handler will run when the event happens. If you want
to use mouseButton2*, you have to add an extended method
or subclassify (depending on what you are doing).</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">So the proposal is to have
the property like the mouseButton1* handlers. With this,
it will be easier to use those events.</font></div>
<div><font face="arial, sans-serif">The call to </font><font
face="monospace">#mouseButton2Activity</font><font
face="arial, sans-serif"> in </font><font face="monospace">#mouseButton2Down:localPosition</font><font
face="arial, sans-serif"> is not going to be changed</font><span
style="font-family: arial,sans-serif;">.</span></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr"><a moz-do-not-send="true"
href="https://10pines.com/" style="font-family:
Roboto,Helvetica,Arial,sans-serif; font-size: medium;"
target="_blank"><img moz-do-not-send="true"
src="https://10pines.github.io/email-signature/10pines-firma@2x.png"
style="margin-bottom: 0.5em;" width="108"></a>
<h1 style="margin: 0px; font-size: 14px;"><font
color="#999999">Joel Cámera</font></h1>
<h2 style="color: rgb(100, 100, 100); margin: 0px 0px
1em; font-size: 14px;">Agile Software Development</h2>
<h1 style="margin: 0px; font-size: 14px;"><font
style="font-weight: normal;" color="#666666">
<p style="margin: 0px; font-size: 12px;">Alem 896,
Floor 6, Buenos Aires, Argentina</p>
<p style="margin: 0px; font-size: 12px;">+54 9 011
6091 3125</p>
</font></h1>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Nice! Did a small change, though. The the #button2Activity won't be
run by default if the property custom action was sent. This is to
avoid 2 actions for a single user action. If the custom action
wants, they can call the #button2Activity themselves.<br>
<br>
Thanks!<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>