[Gambas-user] Clipboard question

Gianluigi bagonergi at ...626...
Thu Mar 10 20:56:44 CET 2016


No Fabien,
I always do the same:
Before I copy the commentate phrase, then I copy the latin phrase.
In the second procedure jumping the CTRL + V and step directly to the mouse.

Regards
Gianluigi


2016-03-10 19:14 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>:

> if you are selecting the commentate with the mouse ... then the
> secondary clipboard will be filled with it... replacing the latin one
>
> 2016-03-10 16:32 GMT+01:00 Gianluigi <bagonergi at ...626...>:
> > 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 at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> Fabien Bodard
>
>
> ------------------------------------------------------------------------------
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list