Search found 22 matches: retval

Return to advanced search

Re: Disable Mouse Wheel on combobox controls

... the dialog my combo-box scroll method looks like below. This works great. METHOD ComboWheel( nKeys, nDelta, nXPos, nYPos) CLASS TDComboBox LOCAL RETVAL, X LOCAL ODLG := SELF:OWND RETVAL := EVAL( ODLG:BMOUSEWHEEL, nKeys, nDelta, nXPos, nYPos ) RETURN RETVAL
by don lowenstein
Tue Apr 07, 2015 8:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disable Mouse Wheel on combobox controls
Replies: 5
Views: 715

Re: Disable Mouse Wheel on combobox controls

... your Default Method ... RETURN NIL ******************************************************************* METHOD ComboWheel() CLASS TDComboBox LOCAL RETVAL, X altd( ) RETURN NIL ************************************************* the mouse wheel goes thru this function, but, it is
by don lowenstein
Tue Apr 07, 2015 5:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disable Mouse Wheel on combobox controls
Replies: 5
Views: 715

BTNBMP Question

... opened within the class. REDEFINE BTNBMP RESOURCE "HROK" ID 2101 OF oDpw3 TOOLTIP "Use part" PROMPT "Use"; ACTION ( retval := ::invnum, oDpw3:end() ) NOBORDER TRANSPARENT REDEFINE XBROWSE oLpa ID 2100 OF oDpw3 ON DBLCLICK( retval := ::invnum, oDpw3:end() ) This is ...
by TimStone
Wed Oct 29, 2014 8:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP Question
Replies: 2
Views: 539

Re: Bad Email Dreams ...

... of 0. makes me think I'm not finding the function or something. do you have any tips since you've been successful with this tool library. LOCAL RETVAL := .f. LOCAL LICENSEKEY := NIL // due to no license key for demo = not sure how to pass NULL PRIVATE HDLL M->HDLL := LOADLIBRARY( M->CDLLNAME ...
by don lowenstein
Tue Apr 02, 2013 12:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bad Email Dreams ...
Replies: 53
Views: 19178

Re: FWH 10.1 - DLL32 Function

... It appears that the process was completed by the DLL and the GPF occurs upon the RETURN of control from the DLL back to the CallDLL( ) function. retval := I2PDF_AddImage(alltrim( infile ) ) // processed ok retval := I2PDF_MakePDF( outfile, 0, @cBuffer , 300 ) // processed ok - created the .PDF ...
by don lowenstein
Thu Feb 18, 2010 10:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 10.1 - DLL32 Function
Replies: 34
Views: 12266

Re: FWH 10.1 - DLL32 Function

... But, I could NOT call the DLL after that, regardless of the function, parameters, etc. Regarding the function in question in prior postings ---- retval := I2PDF_License( "XXX-ZZZZ-AAAAA-BBBBBB-CCCCCCC" ) I successfully called the I2PDF_License( cString ) function, without the PASCAL ...
by don lowenstein
Thu Feb 18, 2010 8:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 10.1 - DLL32 Function
Replies: 34
Views: 12266

Re: FWH 10.1 - DLL32 Function

... license parameter for proper usage. i wonder if the "big string" has some sort of ramification? Is the definition of LPSTR appropriate? retval := I2PDF_License( "XXX-ZZZZ-AAAAA-BBBBBB-CCCCCCC" ) DLL STATIC FUNCTION I2PDF_License( cLicCode AS LPSTR) AS VOID ; FROM "I2PDF_License" ...
by don lowenstein
Thu Feb 18, 2010 7:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 10.1 - DLL32 Function
Replies: 34
Views: 12266

Re: FWH 10.1 - DLL32 Function

... News - Bad News Removing PASCAL from all calls results in: ************************************* -- pass an integer ( LONG ) parm - SUCCESS!!!! retval := I2PDF_SetDPI( 0 ) DLL STATIC FUNCTION I2PDF_SetDPI( nDpi AS LONG ) AS LONG; FROM "I2PDF_SetDPI" LIB hLib *********************************** ...
by don lowenstein
Thu Feb 18, 2010 5:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 10.1 - DLL32 Function
Replies: 34
Views: 12266

GET STATUS WIFI

... the status of the desired wireless device DWORD SetWDevState(DWORD dwDevice, DWORD dwState) { RDD * pDevice = NULL; RDD * pTD; HRESULT hr; DWORD retval = 0; // InitDLL(); hr = pGetWirelessDevices(&pDevice, 0); if(hr != S_OK) return -1; if (pDevice) { pTD = pDevice; // Loop through the linked ...
by Silvio
Wed Sep 02, 2009 10:47 am
 
Forum: FiveWin for Pocket PC
Topic: GET STATUS WIFI
Replies: 0
Views: 492

xBrowse & Recordset related errors in FWH 9.06

... to use ClipBoard copy/paste method. But then another problem rises ie, if the recordset contains numeric column, it errors out at line 9405 ie RetVal := AllTrim( Eval( ::bStrData ) ) // Alltrim will generate error. I found that the same problem exists in the Method To Excel() when the CopyFromRecordSet() ...
by anserkk
Mon Aug 24, 2009 7:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse & Recordset related errors in FWH 9.06
Replies: 3
Views: 933

Re: TO EXCEL METHOD ERROR

Antonio,

... RetVal := AllTrim( Eval( ::bStrData ) )

I have allreadty this command on 8126 line
by Silvio
Sun Jan 25, 2009 10:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO EXCEL METHOD ERROR
Replies: 3
Views: 677

Método ToExcel genera un error en columnas tipo fecha

... el siguiente error: Error BASE/2022 Error de argumento: ALLTRIM La línea en la que se genera el error es la 7320 de xBrowse.Prg, esta es la línea: RetVal := AllTrim( Eval( ::bStrData ) ) Si en la definción del xBrowse cambio: oCol:bStrData := { || TABLA->FECMOV } Por oCol:bStrData := { || DtoC( ...
by RodMG
Wed Dec 17, 2008 10:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Método ToExcel genera un error en columnas tipo fecha
Replies: 0
Views: 301

Yo lo genero desde una plantilla txt sin necesidad de word

... Inkey(.5) Enddo Replace dgppea01->Impreso with .t. Commit unlock Return Nil ***************************** Function dia2dig(campo) local retval:='' local dctos:=Str(Day(campo),2,0) If Len(dctos) = 1 Retval:='0'+dctos +' de '+cMonth(campo) Else Retval:=dctos +' de '+cMonth(campo) EndIf ...
by tosko
Tue Dec 02, 2008 3:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimir en base a una plantilla/doc. externo
Replies: 3
Views: 1259

... == '4500' .or. ; gl->account == '1000' nValue := nValue * -1 endif return nValue // end GL2.PRG function isCostofSales() local retval := .f. //gl->(dbseek('2010')) gl->(dbseek('1500')) do while gl->account < '2039' if gl->ty13 ...
by hag
Sun Jul 20, 2008 7:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: edit browse
Replies: 12
Views: 3681

... NDLL := NIL ENDIF CALLPROC := "I2PDF_SilentRunning" RETURN_TYPE := VOID CFARPROC := GetProcAddress(NDLL,CALLPROC, PASCAL_TYPE, RETURN_TYPE, LONG ) RETVAL := CALLDLL( CFARPROC )
by don lowenstein
Fri Aug 17, 2007 11:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: msvc compiler / linker
Replies: 7
Views: 1517
Next

Return to advanced search