Cut & Paste limit

Cut & Paste limit

Postby TimStone » Thu Sep 07, 2023 2:30 am

I have received complaints from some clients that they are limited to how much they can cut and paste in an application. In other words, if a text is 35 characters long, highlighted, then copy is selected, then they try to paste it into a field ( ie. C 50 ), it gets cut off.

Is there a buffer limit in FWH for cut and paste ( clipboard ) ?

Any thoughts on this would be appreciated.

No, I do not have a sample. I would first like to understand how we implement cut and paste in FWH, and can then try to figure this out.

Thanks.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Cut & Paste limit

Postby nageswaragunupudi » Thu Sep 07, 2023 4:59 am

No limits in FWH.
If we are talking about pasting into a Get, then the copied text is pasted from the cursor position till the end of the Get.
Example
-Width of Get is 80 chars
-Copied text is 70 chars
-User has his cursor position 60 in the Get and then pressed Ctrl-V, the text is pasted from 61st position till the end of Get, ie., 80. 20 chars are copied and the remaining 50 chars are discared.
-Instead, if the user has his cursor position at the beginning of the Get and pressed Ctrl-V, all the 70 chars are pasted
Regards

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

Re: Cut & Paste limit

Postby Jimmy » Thu Sep 07, 2023 11:08 am

hi Tim,

what about
Code: Select all  Expand view
PICTURE "@K"
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Cut & Paste limit

Postby nageswaragunupudi » Thu Sep 07, 2023 11:12 am

Jimmy wrote:hi Tim,

what about
Code: Select all  Expand view
PICTURE "@K"

PICTURE @K is superfluous in Windows.
Useful only in DOS Clipper/Harbour applications.
Regards

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

Re: Cut & Paste limit

Postby Maurizio » Thu Sep 07, 2023 3:46 pm

Tim ,

Dialogs are created with RC , DLL or use commands @ GET ?

If you use RC verify check GET parameter Auto horz scroll = Yes

Maurizio
User avatar
Maurizio
 
Posts: 823
Joined: Mon Oct 10, 2005 1:29 pm

Re: Cut & Paste limit

Postby nageswaragunupudi » Thu Sep 07, 2023 10:25 pm

I was not talking about the width of the Get control.
I was talking about the width of the Get variable.
The behavior of the Paste, as I explained has nothing to do with the issue of horizontal scrolling.
Regards

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

Re: Cut & Paste limit

Postby TimStone » Fri Sep 08, 2023 4:22 pm

Sorry for the delay in responding ... life gets very busy these days.

Nages' explanation made perfect sense. I shared it with my client. He is the only one complaining about this problem, and I expect he is just pointing the cursor at the middle of the field and pressing paste, which, as was explained, leaves half the field with blank spaces and limits the paste.

Thank you so much for that answer. It also explains why I could not duplicate the problem here. I know to click on the left side ( by habit ) and do my paste.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Cut & Paste limit

Postby Jack » Tue Sep 12, 2023 11:10 am

Just like Maurizio said :


If you use RC verify check GET parameter Auto horz scroll = Yes

Philippe
Jack
 
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 42 guests