FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Copy & paste with a single mouse clic, how?
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
Copy & paste with a single mouse clic, how?
Posted: Tue Sep 12, 2023 06:22 PM
Hello Mr. Rao and friends:

I have a browse with xBrowse, and the following code to copy, to ClipBoard, a value:
Code (fw): Select all Collapse
FW_CopyToClipBoard( oRsOri:Fields("RUT_CVE"):Value)
So far so good, now I require, if possible, that with just one mouse click (Right or Left) on a cell paste the stored value,
without having to use RETURN + CTRL+ V+RETURN.

Is it possible?, do you have a sample?

With Best regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Copy & paste with a single mouse clic, how?
Posted: Wed Sep 13, 2023 03:50 AM
1)
RETURN + CTRL+ V+RETURN.
Not required. Simple Ctrl-V is enough.

2) Yes, possible. Please wait
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Copy & paste with a single mouse clic, how?
Posted: Wed Sep 13, 2023 02:42 PM
Code (fw): Select all Collapse
oBrw:bRClicked := { |r,c,f,o| o:Paste() }
Regards



G. N. Rao.

Hyderabad, India
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
Re: Copy & paste with a single mouse clic, how?
Posted: Wed Sep 13, 2023 03:20 PM

Mr. Rao:

Thank you, Master.

Just out of curiosity, what do the letters r,c,f,o mean?

with best regards

SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero

Continue the discussion