Search found 98 matches: nfor

Return to advanced search

Re: how to add two columns in the Report

... ok. Best regards Davor. #include "FiveWin.ch" #include "report.ch" REQUEST DBFFPT,DBFCDX function rept() local nBalance:=0,nfor,astruct,oReport IF FILE("MyTable.DBF")=.F. ASTRUCT := { ; { "AAA" , "N", 5, 0 }, ; { "DEBIT" , "N", ...
by davor0501
Thu May 16, 2013 6:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to add two columns in the Report
Replies: 3
Views: 829

TXBrowse: error al hacer clic en el último registro.

... oCol:nWidth := 110 oCol:= CbRWTELA:AddCol() oCol:bStrData := { || fabricante->Descricao } oCol:cHeader := 'Razão Social' oCol:nWidth := 435 for nFor := 1 to 2 CbRWTELA:aCols[ nFor ]:blDClickData := {|r,c,f,o| (odbf:Fabric:=fabricante->codigo,mDescFabric:=fabricante->descricao, oCodFab:refresh(), ...
by nixbeau
Tue Mar 05, 2013 12:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TXBrowse: error al hacer clic en el último registro.
Replies: 6
Views: 1150

Re: Clase TDb o TDatabase....cual usar?

... endif endif return nil //----------------------------------------------------------------------------// METHOD Modified() CLASS TDb local cField, nFor for nFor := 1 to Len( ::aFldNames ) cField = ( ::cAlias )->( FieldName( nFor ) ) if ( ::cAlias )->( FieldGet( nFor ) ) != ::aBuffer[ nFor ...
by Compuin
Thu Feb 28, 2013 6:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TDb o TDatabase....cual usar?
Replies: 10
Views: 2796

Re: Como puedo cortar y pegar muchos archivitos ??

... le len del array y dentro de ese for usas el move() con el nombre del archivo segun la posicion que ocupa dentro del array, algo asi como for nFor := 1 to len(aArchivos) move(aArchivos[nFor] lo demas que venga ya que nunca he usado move() next asi no tienes que agregar archivo por archivo ...
by joseluisysturiz
Wed Nov 07, 2012 11:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como puedo cortar y pegar muchos archivitos ??
Replies: 4
Views: 589

Re: Para Antonio, 3 temas:

... PS_SOLID, 1, aColors[ Min( 3, Len( aColors ) ) ] ) // 3 élementos o menos y algo más abajo: DrawHorz( hDC, nRow + nGrpHt, nGrpFrom - 2, aCols[ nFor + 1 ] - 2, hHeaderPen ) prueba asi si puedes corregirlo, gracias
by Antonio Linares
Tue Apr 03, 2012 3:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Para Antonio, 3 temas:
Replies: 5
Views: 1332

ARRAY CON TITULOS DE LAS COLUMNAS EN XBROWSE(SOLUCIONADO)

... que me devuelvo todos los nombres definidos de las columnas, algo como aHeader, pero que devuelva cHeader.? por los momentos lo consigo asi: FOR nFor := 1 TO LEN(oBrow:aCols) AADD( aTitCol, oBrow:aCols[nFor]:cHeader ) NEXT luego paso aTitCol al combo box, sino existe ni modo, lei la clase como ...
by joseluisysturiz
Wed Mar 07, 2012 3:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ARRAY CON TITULOS DE LAS COLUMNAS EN XBROWSE(SOLUCIONADO)
Replies: 2
Views: 490

Re: XBROWSE autosort questions

... {|r,c,f,o| ::Sto1210( o ) } obrow:aCols[3]:bLClickHeader := {|r,c,f,o| ::Sto1210( o ) } method sto1210(oCol) classs to12class local aCols,cOrder,nFor,nLen local nat,id1 aCols := oCol:oBrw:aCols cOrder := oCol:cOrder nAt := oCol:nCreationOrder nLen := LEN(aCols) for nFor := 1 to nLen aCols[ nFor ...
by ShumingWang
Thu Feb 23, 2012 2:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE autosort questions
Replies: 3
Views: 743

Re: ToolTips en CELDA con XBROWSE...

Hola José Luis, ¿ya probaste asi?


oBrw:aCols[ nFor ]:bToolTip := {|oBrw,nRow,nCol,nKeyFlas| IF(oBrw:MouseRowPos(nRow)==oBrw:nRowSel .and. oBrw:MouseColPos(nCol)==oBrw:nColSel ,;
IF(cQryPCUO:num_leyenda > 0, str(cQryPCUO:num_leyenda),"Single"), ) }
by FranciscoA
Wed Dec 14, 2011 10:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ToolTips en CELDA con XBROWSE...
Replies: 8
Views: 3862

Re: ToolTips en CELDA con XBROWSE...

... en la forma que use tu sugerencia, saludos... :shock: lo probe asi ya que deb validar muchas celdas por columnas que se crean on line oBrw:aCols[ nFor ]:bToolTip := {|oBrw,nRow,nCol,nKeyFlas| IF(oBrw:MouseRowPos(nRow)==oBrw:nRowSel ,; IF(cQryPCUO:num_leyenda > 0, str(cQryPCUO:num_leyenda),"Single"),
by joseluisysturiz
Thu Dec 01, 2011 5:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ToolTips en CELDA con XBROWSE...
Replies: 8
Views: 3862

Re: Campo MEMO

... Para Imprimirlo/Mostrarlo IF !EMPTY(cTexto) // en cTexto tengo el campo MEMO nLines := MlCount(cTexto,50) // armo segmentos de 50 caracteres FOR nFor := 1 TO nLines // en nLines queda el numero de segmentos de 50 caracteres cLine := OemToAnsi(MemoLine(cTexto, 50, nFor)) @ nRow,nCol SAY cLine ...
by LuisPonce
Thu May 26, 2011 3:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Campo MEMO
Replies: 20
Views: 3714

Re: Xbrowse array autosort and seek with secundury keys

... must be folowed by SeekOnArray , which search only (with ascan) for an element from the column: nAt := Ascan( aData, {|v| Upper( cValToChar( v[ nFor ] ) ) = cSeek } ) This line (in SeekOnArray) would change in : nAt := Ascan( aData, {|v| EVAL( aCols[ nFor ]:bOrder , v ) = cSeek } ) When you ...
by Frank Demont
Sun Feb 13, 2011 5:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse array autosort and seek with secundury keys
Replies: 2
Views: 1035

Xbrowse array autosort and seek with secundury keys

... FUNCTION MySortArray()// CLASS TXBrwColumn ********************** LOCAL Self := HB_QSelf() local aCols local cOrder local nAt, nFor, nLen local uSave, cType # ifdef FRANKDEMONT local bOrder # endif aCols := ::oBrw:aCols cOrder := ::cOrder nLen := Len( aCols ) nAt := If( ValType( ...
by Frank Demont
Sun Feb 13, 2011 10:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse array autosort and seek with secundury keys
Replies: 2
Views: 1035

Re: TDOSPRN y XP WINDOWS - SOLUCIONADO

... endif // Ednaldo RETURN NIL //----------------------------------------------------------------------------// METHOD EndPage() CLASS TDosPrn LOCAL nFor, nLen, nSec LOCAL lError ::Command(::cFormFeed) ::LastError := 0 IF fWrite(::hDC, ::cBuffer) < len(::cBuffer) ::LastError := fError() ENDIF ...
by Armando Picon
Mon Jan 24, 2011 8:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TDOSPRN y XP WINDOWS
Replies: 21
Views: 4704

Re: TdosPrn para USB

... endif ENDIF RETURN NIL //----------------------------------------------------------------------------// METHOD EndPage() CLASS TDosPrn LOCAL nFor, nLen, nSec LOCAL lError * ::Command(::cFormFeed) ::LastError := 0 IF fWrite(::hDC, ::cBuffer) < len(::cBuffer) ::LastError := fError() ENDIF ...
by praul
Sun Dec 19, 2010 3:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TdosPrn para USB
Replies: 5
Views: 1258

xbrowse tree ayuda (SOLUCIONADO)

... http://img843.imageshack.us/i/imagen2u.png/ adjunto el codigo FUNCTION consulta_cheques1(oWnd) local oDlg, oBrw, oCol,oBmp,oChild local nFor,ocol1,ocol2,oBtn,calias,oFont,oFont1 local aGrad := {{ 0.50, CLR_RED, CLR_YELLOW }, { 0.50, CLR_YELLOW, CLR_RED }} local oBar,ntotal local cfecini ...
by EASYSOFT
Wed Aug 25, 2010 7:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse tree ayuda (SOLUCIONADO)
Replies: 1
Views: 1397
PreviousNext

Return to advanced search