[Gambas-user] Clipboard question
Gianluigi
bagonergi at ...626...
Thu Mar 10 16:32:26 CET 2016
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
More information about the User
mailing list