<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 12 Dec 2020 at 19:32, Christof Thalhofer <<a href="mailto:chrisml@deganius.de">chrisml@deganius.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am 12.12.20 um 03:59 schrieb Bruce Steers:<br>
<br>
> How's about something simple like this in FMessage.class?<br>
> <br>
> *Public Sub txtMessage_DblClick()<br>
> <br>
>   Clipboard.Copy(txtMessage.**Text)<br>
>   txtMessage.Text = ("Text Coppied.")<br>
>   Wait 1<br>
>   txtMessage.Text = Clipboard.Paste()<br>
> <br>
> End*<br>
<br>
Actually it's quite funny. But nevertheless I would find it confusing<br>
and not intuitive. There are a number of well-known commands to copy to<br>
the clipboard like Ctrl-C, Ctrl-Insert.<br>
<br>
Double-click is not one of them. If someone copied something important<br>
and it was replaced by double clicking a message it would be annoying.<br>
By no means should it be default behavior in Gambas.<br>
<br>
I found the old behaviour the best and easiest: Highlight the text with<br>
the mouse and press Crtl-C.<br></blockquote><div><br></div><div style="font-size:small" class="gmail_default">Seems the TextLabel control does not do highlighting though :(</div><div style="font-size:small" class="gmail_default">So an alternative behaviour could unavoidable.</div><div style="font-size:small" class="gmail_default"><div style="font-size:small" class="gmail_default">You'd have to assume restoring the old behaviour was not such a simple task or Ben would have done that.<br></div><div style="font-size:small" class="gmail_default">I saw the commit you pointed to and saw he added a copy button but it seems to be gone now.</div></div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">you may have to adjust slightly, bend a little, change your instruction to your subjects from <br></div><div style="font-size:small" class="gmail_default">"drag-n-select the text, right click and select copy" to "double click the text" ;)</div></div><div class="gmail_quote"><br></div><div class="gmail_quote"><div style="font-size:small" class="gmail_default">I just noticed there is already a popup menu "copy text" item and function set up in the message source.</div><div style="font-size:small" class="gmail_default">But nothing has mnuPopup set as its menu.</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">It works but the shortcut key Ctrl+C does not. <br></div><br></div><div class="gmail_quote"><div style="font-size:small" class="gmail_default">Could that be enabled Ben?</div></div><div class="gmail_quote"><div style="font-size:small" class="gmail_default"></div><br></div><div class="gmail_quote"><br><div style="font-size:small" class="gmail_default">BruceS<br></div></div></div>