Search found 31 matches: oclp

Return to advanced search

Re: XBrowseR Excel Error!

... out this error. Can you please fix this bug in this way in your copy of xbrowse.prg? Please see the lines 17232 and 17235: line 17232            ::oClp:SetWideText( UTF8TOUTF16( uVal ) ) line 17235            ::oClp:Clear() In both the lines, please replace "::oClp" ...
by Horizon
Mon Aug 29, 2022 8:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowseR Excel Error!
Replies: 3
Views: 509

Re: XBrowseR Excel Error!

... fix this bug in this way in your copy of xbrowse.prg? Please see the lines 17232 and 17235: line 17232            ::oClp:SetWideText( UTF8TOUTF16( uVal ) ) line 17235            ::oClp:Clear() In both the lines, ...
by nageswaragunupudi
Sat Aug 27, 2022 3:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowseR Excel Error!
Replies: 3
Views: 509

Re: Conversion from ca-clipper ( not found a variable)

... 'SERVER_PATH' test1.prg(75) Warning W0002 Ambiguous reference, assuming memvar 'LOCAL_PATH' test1.prg(81) Warning W0001 Ambiguous reference 'OCLP' The warning for oClp I wonder : It is defined as public (I need it all over the program), but still a warning in the define clipboard line ? FUNCTION ...
by Marc Venken
Thu Mar 03, 2022 11:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 1939

Re: Clipboard question

Robert, Please modify this line this way: oSegment:bGotFocus := { |oClp| ColToString() } // We don't provide oClp as a param, which it is a TGet object to function ColToString() that way, oClp will arrive as a nil to function ColToString() and there should ...
by Antonio Linares
Thu Jan 20, 2022 6:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Clipboard question
Replies: 1
Views: 162

Clipboard question

... contents, edit it, then put the edited version into the get . This stopped working with the last update, in the following code it crashes on the oClp:Open() line, giving me a TGet():MsgNotFound(0) error. What might have changed in fivewin to cause this to start happening, and what is the solution? ...
by rhlawek
Thu Jan 20, 2022 2:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Clipboard question
Replies: 1
Views: 162

Re: Contents of the input field

Since I need to get the text from someone else's application, the Getwindowtext(hWn) function will return an empty value.
I solved this problem using clipboard

SendMessage(hWn, EM_SETSEL, 0, -1)
SendMessage(hWn, WM_COPY, 0, 0)
buf:=oClp:GetText()
by Natter
Wed Nov 13, 2019 6:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Contents of the input field
Replies: 2
Views: 501

Re: Paste values into Password Protected Get Objects

... METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TPGet //** P3N - 06/19/14 local oClp, cText, n DEFAULT SELF:CTRL_V := ' ' do case case nMsg == WM_PASTE if GetFocus() == ::hWnd CallWindowProc( ::nOldProc, ::hWnd, WM_PASTE, 0, 0 ) ...
by don lowenstein
Tue Oct 15, 2019 8:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Paste values into Password Protected Get Objects
Replies: 6
Views: 1156

Re: JSON Post and Get sample

... DBFFPT //----------------------------------------------------------------------------- function Main() LOCAL oHttp, cHttpSend := "", oClp, cResp cHttpSend := [{ "Username": "xxx", "Password": "xxx"}] oHttp:=CreateObject( "winhttp.winHttpRequest.5.1" ...
by cdmmaui
Sat Jan 07, 2017 4:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: JSON Post and Get sample
Replies: 10
Views: 4040

Re: btnbmp on buttonbar

... ::oBar1,::oBar2,::oBar3 on ::oBar1 and ::oBar2 there are buttons on ::oBar3 in future a ruler METHOD SetBar() CLASS TFivePad LOCAL oBar, oCursor, oClp local oPopup MENU oPopup POPUP MENUITEM FWString( "1.0") ACTION NIL MENUITEM FWString( "2.0") ACTION NIL MENUITEM FWString( ...
by Silvio.Falconi
Tue May 03, 2016 7:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: btnbmp on buttonbar
Replies: 13
Views: 2480

Problem with Preview from trichedit RESOLVED

... => (b)TFIVEPAD:SETBAR( 975 )  on these lines of setbar method METHOD SetBar() CLASS Tmypad LOCAL oBar, oCursor, oClp DEFINE CURSOR oCursor HAND DEFINE CLIPBOARD oClp OF ::oWndMain FORMAT TEXT DEFINE BUTTONBAR oBar OF ::oWndMain 3D SIZE 26, 84 oBar:bLClicked := ...
by Silvio.Falconi
Tue Apr 26, 2016 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Preview from trichedit RESOLVED
Replies: 4
Views: 1056

Re: Copy/Past from Excel/Calc to xBrowse

... case ::lCanPaste .and. nKey == 22 // Ctrl-V msginfo("paste") && FIRST LOG if ::SelectedCol():cDataType == 'P' DEFINE CLIPBOARD oClp OF ::oWnd FORMAT BITMAP uClip := oClp:GetBitmap() if uClip != 0 .and. ::SelectedCol():nEditType > 0 ::SelectedCol():VarPut( BmpToStr( uClip ...
by Marco Turco
Tue Dec 01, 2015 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy/Past from Excel/Calc to xBrowse
Replies: 14
Views: 3298

Unicode Read from and write to excel

... the values of the cells Many thanks to Mr Rao and Fwh support! #include "fivewin.ch" FUNCTION Main() local oExcel, oBook, oSheet, oWnd, oClp local nRow, nCol, nCols, uVal, uVal2 FW_SetUnicode( .t. ) DEFINE WINDOW oWnd oClp := TClipboard():New() USE "AA_CHN" GO TOP nCols := ...
by MarcoBoschi
Fri Nov 27, 2015 6:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode Read from and write to excel
Replies: 0
Views: 467

Copy a string into windows clipboard

Hi all,
I need to write the string "ok" into the Windows clipboard.
I usually use
DEFINE CLIPBOARD oClp OF oWnd
oClp:SetText("ok")

but this is a Windows console application so I haven't a oWnd object. Any ideas ?
by Marco Turco
Mon Nov 24, 2014 10:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy a string into windows clipboard
Replies: 4
Views: 565

Re: SAY - SELECCIONAR TEXTO

yo hago así Static oClp ...... DEFINE DIALOG oDlg RESOURCE "FACTIBLE" TITLE "Imágenes Scaneadas" DEFINE CLIPBOARD oClp OF oDlg REDEFINE GET oGet1 VAR cDNI ID 110 OF oDlg PICTURE "99999999" VALID EsCero(cDNI) ...
by postinelli
Wed Jul 03, 2013 6:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SAY - SELECCIONAR TEXTO
Replies: 1
Views: 623

Re: clipboard

it is simply DEFINE CLIPBOARD oClp OF oApp():oDlg MENU oMenu POPUP 2007 .... MENUITEM "Copia il codice utente in memoria"; RESOURCE "SM_CLIP1"; ACTION oClp:SetText( (cDBF)->CLUSUARIO ) MENUITEM "Copia la password ...
by Silvio
Thu Apr 14, 2011 7:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: clipboard
Replies: 9
Views: 1161
Next

Return to advanced search