I do not understand why does this happen?

Given this simple code:

Public Sub Form_Open()

  ' First copy this commentate words by selecting it and giving CTRL+C

  TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus
sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam eaque
ipsa, quae ab illo inventore"
  ' Triky Fabien
  Clipboard.Current = ClipBoard.Selection
' Triky Jorge
  TextArea1.SetFocus()
  TextArea1.Select(0, Len(TextArea1.Text))

End

1) Copy the commentate words
2) Start the application.
3) CTRL+C
4) CANC
5) CTRL+V
It is pasted the Latin phrase
6) CANC (clear the textarea)
7) CLICK the middle mouse button
It is pasted the Latin phrase
8) Close

Now we repeat the first four steps:

1) Copy the commentate words
2) Start the application.
3) CTRL+C
4) CANC
5) CLICK the middle mouse button
It is pasted the commentate words(!?)

Why?

Regards
Gianluigi
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to