Search found 116 matches: pasting

Return to advanced search

Re: copy a row of xbrowse

Silvio, ask ChatGPT: To address the issue of copying multiple rows and pasting them into your xBrowse control in Harbour with FiveWin, you need to modify your `Copy` and `Paste` functionalities to handle multiple rows. Here is an approach to achieve this: 1. ...
by Otto
Tue Dec 05, 2023 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5790

Re: copy a row of xbrowse

nageswaragunupudi wrote:do not use oBrw:aCopy

Keep a variable aCopy

For copying
Code: Select all  Expand view
aCopy := oBrw:aRow


For pasting
Code: Select all  Expand view
aCopy[ 1 ] := codsep
oBrw:aArrayData[ oBrw:nArrayAt ] := aCopy

Sorry,
I'am not understading
where i must inserti these Lines on my test (up)
Thanks
by Silvio.Falconi
Mon Dec 04, 2023 6:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5790

Re: copy a row of xbrowse

do not use oBrw:aCopy

Keep a variable aCopy

For copying
Code: Select all  Expand view
aCopy := oBrw:aRow


For pasting
Code: Select all  Expand view
aCopy[ 1 ] := codsep
oBrw:aArrayData[ oBrw:nArrayAt ] := aCopy
by nageswaragunupudi
Mon Dec 04, 2023 6:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5790

Re: Cut & Paste limit

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 ...
by nageswaragunupudi
Thu Sep 07, 2023 4:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cut & Paste limit
Replies: 7
Views: 551

Re: Actualizar xBrowse con un Clic del ratón?

Then, you can copy any text any where and then press Ctrl-V in the active cell. The value is pasted and browse updated.
This applies even for pasting images in memo fields.

Aprovechado el hilo, como debería definirse si quiero hacerlo con un Xbrowse con Array?
by cmsoft
Fri Aug 18, 2023 3:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Actualizar xBrowse con un Clic del ratón?
Replies: 22
Views: 1359

Re: Actualizar xBrowse con un Clic del ratón?

Code: Select all  Expand view
oCol:VarPut( newValie _


For pasting initially set
Code: Select all  Expand view
oBrw:lCanPaste := .t.

Then, you can copy any text any where and then press Ctrl-V in the active cell. The value is pasted and browse updated.
This applies even for pasting images in memo fields.
by nageswaragunupudi
Fri Aug 18, 2023 12:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Actualizar xBrowse con un Clic del ratón?
Replies: 22
Views: 1359

Re: SetClipboardData to UTF-8

Copying data correctly to clipboard but there is problem in pasting, i.e, GetClpData
We are looking to all the issues raised by you.
by nageswaragunupudi
Thu Jun 29, 2023 2:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetClipboardData to UTF-8
Replies: 14
Views: 1040

Re: FW_SetUnicode( .T. ) 2-Byte characters

... correct? Yes! Did some more tests with ü - 0xC3BC and some other 2-byte characters: - The first 2-byte char is ok - all the following are not ok - Pasting one or more 2-byte chars from the clipboard is working! Did you try keeping FW_SetUnicode( .f. ) // default and try setting   HB_LangSelect("DE")  ...
by frose
Wed Jun 21, 2023 6:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SetUnicode( .T. ) 2-Byte characters
Replies: 25
Views: 2193

Re: Text paste event

With edit control, try pasting by pressing Ctrl-V. In my test here, bChange is executed, immediately after pressing the key and before actually pasting. Note: In case of EDIT control, bChange is executed when the user presses any key ...
by nageswaragunupudi
Tue May 30, 2023 2:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Text paste event
Replies: 7
Views: 303

Re: OpenAI class using hbCurl

Yes, it makes sense. Here is sample code on how I use it. I'm pasting text that the program reads from dictations so you see how to feed OpenAI:       TEXT INTO cText         ENDOVAGINAL SONOGRAM:         Compared to previous study dated 08/24/2022 reporting ...
by reinaldocrespo
Tue May 09, 2023 7:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OpenAI class using hbCurl
Replies: 8
Views: 702

Re: Copy File Name

... character from another code table). I cannot rename this program file because for FW the file ******?.pdf does not exist. This can only be done by pasting the file name from the clipboard (for example via CMD ren or PowerShell)
by Natter
Thu Jan 20, 2022 10:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy File Name
Replies: 21
Views: 997

Clipboard without a window

... from modharbour. This prg reads a lot of informations in several tables and the write this strings inside an excel file, using the clipboard for pasting the datas. The problem is that if I don't have a window or a dialog I cannot use the tclipboard class because it gives error saying this : Application===========  ...
by Massimo Linossi
Sat May 15, 2021 2:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Clipboard without a window
Replies: 3
Views: 549

Re: Make para BCC10

... -DCMAKE_C_COMPILER="bcc32c.exe" -DCMAKE_VERBOSE_MAKEFILE=1 .. make cd .. echo CMakeBCC: Results available in 'build' folder When copy/pasting, make sure the “cmake -G…” line (with several -DCMAKE_ flags) is all on one line. Detailed Installation ===================== If you’re having ...
by cnavarro
Sun Mar 28, 2021 5:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Make para BCC10
Replies: 7
Views: 1121

Re: Selecting text in a cell

You can copy full contents of a cell by clicking Ctrl-C and then pasting anywhere you want.

If you want to copy only a part of the text in the cell, then the only way is to make the column editable, enter edit of the cell and block the text wanted and press ctrl-C.
by nageswaragunupudi
Tue Mar 16, 2021 1:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Selecting text in a cell
Replies: 2
Views: 370

Re: Google Table and clipboard

... MARQSTYLE_SOLIDCELL/ MARQSTYLE_HIGHLCELL), pressing Ctrl-C on any cell in xbrowse, copies value of the highlighted cell only to the clip board. Pasting in Excel / Google Sheet pastes value of that cell only. 2. Copying values of all cells in a row: If oBrw:nMarqueeStyle >= 4, pressing Ctrl-C ...
by nageswaragunupudi
Sun Oct 18, 2020 4:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Google Table and clipboard
Replies: 2
Views: 657
Next

Return to advanced search

cron