Copy & paste with a single mouse clic, how?

Copy & paste with a single mouse clic, how?

Postby Armando » Tue Sep 12, 2023 6:22 pm

Hello Mr. Rao and friends:

I have a browse with xBrowse, and the following code to copy, to ClipBoard, a value:

Code: Select all  Expand view

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
User avatar
Armando
 
Posts: 3099
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Copy & paste with a single mouse clic, how?

Postby nageswaragunupudi » Wed Sep 13, 2023 3: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
User avatar
nageswaragunupudi
 
Posts: 10326
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Copy & paste with a single mouse clic, how?

Postby nageswaragunupudi » Wed Sep 13, 2023 2:42 pm

Code: Select all  Expand view
oBrw:bRClicked := { |r,c,f,o| o:Paste() }
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10326
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Copy & paste with a single mouse clic, how?

Postby Armando » Wed Sep 13, 2023 3: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
User avatar
Armando
 
Posts: 3099
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 124 guests