Search found 310 matches: endcase

Return to advanced search

Problemas con Menu POPUP.

... ( AllTrim( oemtoansi(TablaMnu[i,3]) ) ) endif case TablaMnu[i,2] == 2 // separador SEPARATOR case TablaMnu[i,2] == 3 // final del menu ENDMENU endcase next ENDMENU return oMenu *----------------------------------------------------------------------------//
by José Camilo
Mon Jun 05, 2023 3:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con Menu POPUP.
Replies: 2
Views: 205

Is Xbrowse Barget still intended to filter data

... set index street scope the data otherwise // more fields have been filled in, so filtering will be a better option do the filter stuff endcase here is my current filtercode :    //  From insite the Xbrowse setup   oBrwSel:lGetBar   := .T.  // Button ...
by Marc Venken
Sat Nov 05, 2022 1:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Is Xbrowse Barget still intended to filter data
Replies: 2
Views: 205

Re: start at the end and go back in an array

... 47 case nWheel = 10 nPos1:= 48 nPos2:= 49 nPos3:= 50 nPos4:= 51 nPos5:= 52 case nWheel = 11 nPos1:= 53 nPos2:= 54 nPos3:= 55 nPos4:= 56 nPos5:= 57 Endcase with these 5 lines:       nPos1 := ( nWheel - 1 ) * 5 + 3      nPos2 := ( nWheel - 1 ) * 5 + 4      nPos3 := ( nWheel - ...
by Detlef
Mon May 30, 2022 2:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: start at the end and go back in an array - RESOLVED --
Replies: 19
Views: 829

Re: start at the end and go back in an array

... "NZ3"         r4:= "NZ4"         r5:= "NZ5"      endcase       oDbfRit:= TDatabase():Open( , cDir+"lotto", "DBFCDX", .T. )       oDbfRit:setorder(0)  ...
by Silvio.Falconi
Sat May 28, 2022 7:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: start at the end and go back in an array - RESOLVED --
Replies: 19
Views: 829

Hide/show group columns on line

... 20 OF oGrS1 ; ON CHANGE hidexbrowse( ::oLbx,::lBa) Function hidexbrowse( ::oLbx,::lBa) local i,oCol do case case ::lba = .t. nInit := 2 nEnd:= 6 endcase for i= nInit to nEnd oCol := ::oLbx:aCols[ i ] oCol:HIde() next ::oLbx:refresh() return nil
by Silvio.Falconi
Fri May 27, 2022 7:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hide/show group columns on line
Replies: 0
Views: 174

Re: USAR IMPRESORA FISCAL BERMATECH EN VENEZUELA EN PDV

... Encendida o Conectada al Cable Serial" CASE nRet = -8 cError:="Error al Crear o Grabar en el Archivo status.txt o retorno.txt " ENDCASE cError:="Error:"+LSTR(nRet)+", "+cError IF lShow MensajeErr(cError,"Error Impresora Bematech") ENDIF RETURN cError ...
by jnavas
Wed Apr 27, 2022 9:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: USAR IMPRESORA FISCAL BERMATECH EN VENEZUELA EN PDV
Replies: 21
Views: 7826

Re: Harbour y MySQL - tildes y eñes

... // Tablas... case cTabla = 'CLIENTES' nCmd := MySincClienteCrea() --> crear el registro de cliente con insert... devolviendo nCmd .... .... endcase if nCmd # Nil .and. nCmd > 0 // ok, reg creado .... ok else // avisar que hubo un error... endif endif else ...consulta verificar si reg ...
by José
Sat Dec 04, 2021 9:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Harbour y MySQL - tildes y eñes
Replies: 14
Views: 1674

Unattended creation of .pdf . resolution problem -- RESOLVED

... ) CLOSE DATABASES oDlg:END() RETURN(NIL) ENDIF Case nVIEW = 3 PRINT oPrint FILE "c:\dbtmp\"+cPdfName+".pdf" //<------- here EndCase .... .... Since there is no direct pointer to a Printer .. where is oPrinter getting its values ... In the attached program .. I evaluate oPrinter ...
by Rick Lipkin
Thu Sep 16, 2021 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unattended creation of .pdf . resolution problem -- RESOLVED
Replies: 9
Views: 1290

Re: If anidados o DO CASE?

... excelentes para controlar una condición, ya sea sí o no. De cualquier manera, ambos modos harán lo que quieras. Creo que el comando DO CASE ... ENDCASE es más antiguo que IF..ELSEIF..ENDIF. En resumen, la decisión es tuya. Prefiero IF ... ELSEIF ... ENDIF, por cuestión de gustos. Abrazos. https://www.itlnet.net/programming/program/Reference/c53g01c/ng1054c7.html ...
by karinha
Sat Aug 14, 2021 1:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: If anidados o DO CASE?
Replies: 9
Views: 1125

XBROWSE REFRESCO DE TABLA

... oConDlg CENTERED IF lGoOn CursorWait() do case case xconsulta == 1 V0100CO1(oBrw) // BUSQUEDA POR CLIENTE !!! case xconsulta == 2 V0100CO2(oBrw) endcase ENDIF cSql := "SELECT * FROM mae_cli ORDER BY cliente" oR3 := oCn:RowSet( cSql ) sysrefresh() RETURN // ------------------------------------ ...
by pedroluis
Thu Jan 28, 2021 5:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE REFRESCO DE TABLA
Replies: 4
Views: 760

XBROWSE MARIADB REFRESCAR TABLA

... do case case xconsulta == 1 V0100CO1(oBrw) // <<<<--------- Búsqueda por nro.de cliente case xconsulta == 2 V0100CO2(oBrw) endcase ENDIF cSql := "SELECT * FROM mae_cli ORDER BY cliente" oR3 := oCn:RowSet( cSql ) sysrefresh() RETURN // ------------------------------------ ...
by pedroluis
Fri Dec 11, 2020 12:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE MARIADB REFRESCAR TABLA
Replies: 2
Views: 631

Controller/Router

... AP_Method() == "POST" do case case cAction == "save" ? "post save" Save() case cRequest == "login" Login() endcase endcase Best regards, Otto function Controller( cRequest )   local aRequest   if ":" $ cRequest      aRequest = hb_aTokens( ...
by Otto
Wed Nov 18, 2020 8:22 am
 
Forum: mod_harbour
Topic: Controller/Router
Replies: 10
Views: 1155

Re: Know the size of a font selected

... nCol := Max( 0, nCol - ::GetTextWidth( cText, oFont ) ) CASE nPad == 2 // center nCol := Max( 0, nCol - ( ::GetTextWidth( cText, oFont ) / 2 ) ) ENDCASE TextOut( ::oPrn:hDCOut, nRow, nCol, cText ) IF oFont != nil oFont:DeActivate( ::oPrn:hDCOut ) ENDIF IF nClrText != NIL #IFDEF __HARBOUR__ SetTextColor( ...
by Otto
Tue Nov 03, 2020 10:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Know the size of a font selected - Resolved -
Replies: 9
Views: 1324

bad calculation prices for days

... = ngg * prz [1] case days <7 nPrice: = ngg * prz [2] case days <15 nPrice: = ngg * prz [3] houses days <30 nPrice: = ngg * prz [4] endcase where is the error?
by Silvio.Falconi
Sat Jul 04, 2020 10:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bad calculation prices for days
Replies: 13
Views: 1907

Re: Paste values into Password Protected Get Objects

... //** DO NOT REFRESH IF CTRL_V PASTE - CONTINUE ELSE SELF:REFRESH() //** Right mouse button click - Paste opt selected ENDIF ENDIF return 0 endcase return ::Super:HandleEvent( nMsg, nWParam, nLParam )
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: 1164
Next

Return to advanced search