Re: [Gambas-user] Clipboard question

2016-03-11 Thread Gianluigi
Thank you Fabien, I promise that for a while I will not bother you :-) Gianluigi 2016-03-11 21:30 GMT+01:00 Fabien Bodard : > it seem to be ok > > 2016-03-11 21:15 GMT+01:00 Gianluigi : > > In the project last attachment, I deleted by mistake the

Re: [Gambas-user] Clipboard question

2016-03-11 Thread Fabien Bodard
it seem to be ok 2016-03-11 21:15 GMT+01:00 Gianluigi : > In the project last attachment, I deleted by mistake the closing "End" of > Sub, I apologize. > Is there a way to replace the file? > Sorry > Gianluigi > > 2016-03-11 20:58 GMT+01:00 Gianluigi : >

Re: [Gambas-user] Clipboard question

2016-03-11 Thread Gianluigi
In the project last attachment, I deleted by mistake the closing "End" of Sub, I apologize. Is there a way to replace the file? Sorry Gianluigi 2016-03-11 20:58 GMT+01:00 Gianluigi : > Maybe this is more clear? > Regards > Gianluigi > > 2016-03-11 14:36 GMT+01:00 Gianluigi

Re: [Gambas-user] Clipboard question

2016-03-11 Thread Gianluigi
Hello Fabien, thanks for the support. Look the attachment and tell me if I begin to understand. Regards Gianluigi 2016-03-11 12:38 GMT+01:00 Fabien Bodard : > Le 10 mars 2016 23:42, "Gianluigi" a écrit : > > > > Yes Fabien, > > unfortunately, you're

Re: [Gambas-user] Clipboard question

2016-03-11 Thread Fabien Bodard
Le 10 mars 2016 23:42, "Gianluigi" a écrit : > > Yes Fabien, > unfortunately, you're right. > I did not understand anything. Yet I was convinced ... > I am afraid that the decline has initiated :-( Don't be afraid... We are here to help you  ! > Thanks for the attention >

Re: [Gambas-user] Clipboard question

2016-03-10 Thread Gianluigi
Yes Fabien, unfortunately, you're right. I did not understand anything. Yet I was convinced ... I am afraid that the decline has initiated :-( Thanks for the attention 2016-03-10 22:26 GMT+01:00 Fabien Bodard : > Well I think you have not understand the clipboard... this is

Re: [Gambas-user] Clipboard question

2016-03-10 Thread Fabien Bodard
Well I think you have not understand the clipboard... this is an example 2016-03-10 21:18 GMT+01:00 Gianluigi : > Yes you are right, > I should send it before. > Attached file. > > Regards > > Gianluigi > > 2016-03-10 21:00 GMT+01:00 Fabien Bodard : > >>

Re: [Gambas-user] Clipboard question

2016-03-10 Thread Gianluigi
Yes you are right, I should send it before. Attached file. Regards Gianluigi 2016-03-10 21:00 GMT+01:00 Fabien Bodard : > can you send mle the project ? > > 2016-03-10 20:56 GMT+01:00 Gianluigi : > > No Fabien, > > I always do the same: > > Before I

Re: [Gambas-user] Clipboard question

2016-03-10 Thread Fabien Bodard
can you send mle the project ? 2016-03-10 20:56 GMT+01:00 Gianluigi : > 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 >

Re: [Gambas-user] Clipboard question

2016-03-10 Thread Gianluigi
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 : > if you are selecting the

Re: [Gambas-user] Clipboard question

2016-03-10 Thread Fabien Bodard
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 : > I do not understand why does this happen? > > Given this simple code: > > Public Sub Form_Open() > >

[Gambas-user] Clipboard question

2016-03-10 Thread Gianluigi
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

[Gambas-user] Clipboard Persistence

2015-07-29 Thread Nigel Verity
Hi If often need to copy text from a form in a Gambas application and paste it into a non-Gambas application - typically LibreOffice Writer. While the Gambas app remains open there is no problem. However, once I close the Gambas app the Paste option on the main or context menu of the target is

Re: [Gambas-user] Clipboard Persistence

2015-07-29 Thread Benoît Minisini
Le 29/07/2015 09:33, Nigel Verity a écrit : Hi If often need to copy text from a form in a Gambas application and paste it into a non-Gambas application - typically LibreOffice Writer. While the Gambas app remains open there is no problem. However, once I close the Gambas app the Paste

Re: [Gambas-user] Clipboard problem in Gambas

2010-08-24 Thread Jussi Lahtinen
I have noticed it with Ubuntu also. I use Parcellite clipboard manager, I'm not sure if it matters. That bug is rare and I have not figured out how to reproduce it. Jussi On Tue, Aug 24, 2010 at 00:51, richard terry rte...@pacific.net.au wrote: On Tuesday 24 August 2010 01:03:43 Benoît

Re: [Gambas-user] Clipboard problem in Gambas

2010-08-24 Thread Charlie Reinl
Am Dienstag, den 24.08.2010, 19:22 +0300 schrieb Jussi Lahtinen: I have noticed it with Ubuntu also. I use Parcellite clipboard manager, I'm not sure if it matters. That bug is rare and I have not figured out how to reproduce it. Jussi On Tue, Aug 24, 2010 at 00:51, richard terry

[Gambas-user] Clipboard problem in Gambas

2010-08-23 Thread richard terry
On Tuesday 24 August 2010 01:03:43 Benoît Minisini wrote: 1. Thank you for your response, it works better now. 2.The problem of shortcuts keys Ctrl+C, Ctrl+X is: when I use those shortcut keys, I can paste only to the Gambas project editor window from where I copy (I can paste to

Re: [Gambas-user] clipboard paste doesn't work

2009-09-28 Thread Charlie Reinl
Am Samstag, den 26.09.2009, 21:55 +0200 schrieb Benoît Minisini: Hi, Benoit. It seems that Clipboard.Paste() doesn't work (see example pasteclip). I select a text somewhere, then press in the example Paste from clipboard, but it does not return the text I've selected. To make it

Re: [Gambas-user] clipboard paste doesn't work

2009-09-28 Thread Stefano Palmeri
Il lunedì 28 settembre 2009 09:48:31 Charlie Reinl ha scritto: Am Samstag, den 26.09.2009, 21:55 +0200 schrieb Benoît Minisini: Hi, Benoit. It seems that Clipboard.Paste() doesn't work (see example pasteclip). I select a text somewhere, then press in the example Paste from

Re: [Gambas-user] clipboard paste doesn't work

2009-09-28 Thread Charlie Reinl
Am Montag, den 28.09.2009, 18:55 +0200 schrieb Charlie Reinl: Am Montag, den 28.09.2009, 16:00 +0200 schrieb Stefano Palmeri: Il lunedì 28 settembre 2009 09:48:31 Charlie Reinl ha scritto: Am Samstag, den 26.09.2009, 21:55 +0200 schrieb Benoît Minisini: Hi, Benoit. It seems

Re: [Gambas-user] clipboard paste doesn't work

2009-09-26 Thread Benoît Minisini
Hi, Benoit. It seems that Clipboard.Paste() doesn't work (see example pasteclip). I select a text somewhere, then press in the example Paste from clipboard, but it does not return the text I've selected. To make it work I have to: 1) select the text; 2) copy the text; 3) press the

Re: [Gambas-user] clipboard

2009-06-09 Thread Doriano Blengino
Beren Scott ha scritto: The goal of my program is to keep an offline database and use it to plan out a series of actions which are html based and online. So, the database is accessed by my program, my program formulates with moderate user interaction the best course of action. The program

Re: [Gambas-user] clipboard

2009-06-09 Thread Beren Scott
I think I have solved the issue, basically instead of using clipboard, I'm just going to have a form with an embedded web browser. This way I can cut out the extra stuff. Originally I percieved this as being too hard, but because I wasn't making much in roads on the clipboard, it forced me to

Re: [Gambas-user] clipboard

2009-06-09 Thread Stefano Palmeri
Il martedì 9 giugno 2009 08:21:13 Doriano Blengino ha scritto: Beren Scott ha scritto: The goal of my program is to keep an offline database and use it to plan out a series of actions which are html based and online. So, the database is accessed by my program, my program formulates with

Re: [Gambas-user] clipboard

2009-06-09 Thread Benoît Minisini
Il lunedì 8 giugno 2009 17:27:11 Beren Scott ha scritto: On Mon, 2009-06-08 at 16:47 +0200, Stefano Palmeri wrote: Il lunedì 8 giugno 2009 16:03:23 Beren Scott ha scritto: On Mon, 2009-06-08 at 02:44 -0700, charlesg wrote: Hi, Clipboard.Copy(txtItem.text) rgds

Re: [Gambas-user] clipboard

2009-06-09 Thread Benoît Minisini
Il lunedì 8 giugno 2009 17:27:11 Beren Scott ha scritto: On Mon, 2009-06-08 at 16:47 +0200, Stefano Palmeri wrote: Il lunedì 8 giugno 2009 16:03:23 Beren Scott ha scritto: On Mon, 2009-06-08 at 02:44 -0700, charlesg wrote: Hi, Clipboard.Copy(txtItem.text)

Re: [Gambas-user] clipboard

2009-06-09 Thread Benoît Minisini
It seems there is a bug: Clipboard.Copy(hello) ' Don't work Clipboard.Copy(hello, text/plain) ' Works! ...whereas the two should behave the same. So there is a workaround at the moment, but I have no idea why the first fails... Regards, Sorry, the workaround works with

Re: [Gambas-user] clipboard

2009-06-09 Thread Ron
It seems that with QT3 you have to copy the data into the clipboard several times, with a little event loop pause between each try. Otherwise you cannot be sure that the data is actually in the clipboard. With QT4 things seems to behave normally We are talking about Linux right? This

Re: [Gambas-user] clipboard

2009-06-09 Thread Benoît Minisini
It seems that with QT3 you have to copy the data into the clipboard several times, with a little event loop pause between each try. Otherwise you cannot be sure that the data is actually in the clipboard. With QT4 things seems to behave normally We are talking about Linux right? This

Re: [Gambas-user] clipboard

2009-06-09 Thread Jason Hackney
Beren, I don't know if you're absolutely tied to GTK or non-KDE libraries, but this may help if you are considering inserting a browser into your project: http://www.gambasdoc.org/help/comp/gb.qt.kde.html/webbrowser -j-

[Gambas-user] clipboard

2009-06-08 Thread Beren Scott
Sorry to ask this question, but is there any way to copy a string directly to the operating systems clipboard? Is there a command to handle this? Beren Scott -- OpenSolaris 2009.06 is a cutting edge operating system for

Re: [Gambas-user] clipboard

2009-06-08 Thread Laurent Carlier
Le lundi 08 juin 2009 11:09:26 Beren Scott, vous avez écrit : Sorry to ask this question, but is there any way to copy a string directly to the operating systems clipboard? Is there a command to handle this? Beren Scott

Re: [Gambas-user] clipboard

2009-06-08 Thread Beren Scott
On Mon, 2009-06-08 at 02:44 -0700, charlesg wrote: Hi, Clipboard.Copy(txtItem.text) rgds The problem is however that I am currently console only, no gui, and I am getting a non-existent item error on clipboard. Do I have to add any lines of code to fix this?

Re: [Gambas-user] clipboard

2009-06-08 Thread Stefano Palmeri
Il lunedì 8 giugno 2009 16:03:23 Beren Scott ha scritto: On Mon, 2009-06-08 at 02:44 -0700, charlesg wrote: Hi, Clipboard.Copy(txtItem.text) rgds The problem is however that I am currently console only, no gui, and I am getting a non-existent item error on clipboard. Do I have to add

Re: [Gambas-user] clipboard

2009-06-08 Thread Beren Scott
On Mon, 2009-06-08 at 16:47 +0200, Stefano Palmeri wrote: Il lunedì 8 giugno 2009 16:03:23 Beren Scott ha scritto: On Mon, 2009-06-08 at 02:44 -0700, charlesg wrote: Hi, Clipboard.Copy(txtItem.text) rgds The problem is however that I am currently console only, no gui, and I

Re: [Gambas-user] clipboard

2009-06-08 Thread Stefano Palmeri
Il lunedì 8 giugno 2009 17:27:11 Beren Scott ha scritto: On Mon, 2009-06-08 at 16:47 +0200, Stefano Palmeri wrote: Il lunedì 8 giugno 2009 16:03:23 Beren Scott ha scritto: On Mon, 2009-06-08 at 02:44 -0700, charlesg wrote: Hi, Clipboard.Copy(txtItem.text) rgds The

Re: [Gambas-user] clipboard

2009-06-08 Thread Stefano Palmeri
Il martedì 9 giugno 2009 04:03:48 Beren Scott ha scritto: Is it because technically linux doesn't have a clipboard, and that simply put the copy command simply applies a reference to the location of the item you have copied, and then when you paste, it looks up the item you wish to paste? I

Re: [Gambas-user] clipboard

2009-06-08 Thread Stefano Palmeri
Il martedì 9 giugno 2009 04:45:53 Stefano Palmeri ha scritto: Or if you have a KDE 3 DE you could use: SHELL dcop klipper klipper setClipboardContents 'hello gambas' WAIT Il martedì 9 giugno 2009 04:03:48 Beren Scott ha scritto: Is it because technically linux doesn't have a clipboard, and

Re: [Gambas-user] clipboard

2009-06-08 Thread Beren Scott
I'll show you the line of code I'm using, it's currently not functioning correctly, but I'm getting closer I can feel it. dim pasteurl as string dim villurl[] as string dim farmid[] as integer dim z as integer dim c as integer pasteurl = echo villurl[z - 1] farmid[c - 1] | xclip SHELL

Re: [Gambas-user] clipboard

2009-06-08 Thread Dimitris Anogiatis
Hey Beren, If I may add my 2 cents worth of wisdom, the flow of information in your program is still unknown and it's kinda difficult to understand what you're trying to do... however if I read this correctly (correct me if I'm wrong) Take for example, I want to use the copied data in

Re: [Gambas-user] clipboard

2009-06-08 Thread Beren Scott
The goal of my program is to keep an offline database and use it to plan out a series of actions which are html based and online. So, the database is accessed by my program, my program formulates with moderate user interaction the best course of action. The program copies a link to the clipboard,