FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Cut & Paste limit
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Cut & Paste limit
Posted: Thu Sep 07, 2023 02: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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Cut & Paste limit
Posted: Thu Sep 07, 2023 04: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
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Cut & Paste limit
Posted: Thu Sep 07, 2023 11:08 AM
hi Tim,

what about
Code (fw): Select all Collapse
PICTURE "@K"
greeting,

Jimmy
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Cut & Paste limit
Posted: Thu Sep 07, 2023 11:12 AM
Jimmy wrote:hi Tim,

what about
Code (fw): Select all Collapse
PICTURE "@K"
PICTURE @K is superfluous in Windows.
Useful only in DOS Clipper/Harbour applications.
Regards



G. N. Rao.

Hyderabad, India
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: Cut & Paste limit
Posted: Thu Sep 07, 2023 03: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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Cut & Paste limit
Posted: 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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Cut & Paste limit
Posted: Fri Sep 08, 2023 04: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
Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
Re: Cut & Paste limit
Posted: Tue Sep 12, 2023 11:10 AM

Just like Maurizio said :

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

Philippe

Continue the discussion