Cut & Paste limit

Post Reply
User avatar
TimStone
Posts: 2951
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Cut & Paste limit

Post by TimStone »

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
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Cut & Paste limit

Post by nageswaragunupudi »

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
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Cut & Paste limit

Post by Jimmy »

hi Tim,

what about

Code: Select all | Expand

PICTURE "@K"
greeting,
Jimmy
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Cut & Paste limit

Post by nageswaragunupudi »

Jimmy wrote:hi Tim,

what about

Code: Select all | Expand

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

G. N. Rao.
Hyderabad, India
User avatar
Maurizio
Posts: 826
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Re: Cut & Paste limit

Post by Maurizio »

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
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Cut & Paste limit

Post by nageswaragunupudi »

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
TimStone
Posts: 2951
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: Cut & Paste limit

Post by TimStone »

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
Jack
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am

Re: Cut & Paste limit

Post by Jack »

Just like Maurizio said :


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

Philippe
Post Reply