Search found 17 matches: trline

Return to advanced search

Re: Calculate total pages

... " local cTitle1 := "title row 1" local cTitle2 := "title row 2" local nTotalpages:= oRep:oDevice:cLastPage oRep:oTitle := TrLine():New( {{|| cf(date())+"- Pagina : "+Str(oRep:nPage,3)+"/"+(nTotalpages)} }, oRep, 2 ) I tried and run ok thanks Rao
by Silvio.Falconi
Tue Nov 28, 2023 8:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5508

Re: Calculate total pages

... oRep:oDevice:cLastPage Nages, There is something not run ok on Treport https://i.postimg.cc/WzYHVtyx/kk.png I made oRep:oTitle := TrLine():New( {{|| cf(date())+"- Pagina : "+Str(oRep:nPage,3)+"/"+(oRep:oDevice:cLastPage)} }, oRep, 2 )
by Silvio.Falconi
Mon Nov 27, 2023 8:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5508

Number Total Pages

How I can calculate on Report ( class Treport) the total number of pages ? local nTotalpages:= ? oRep:oTitle := TrLine():New( {{|| cf(date())+"- Pagina : "+Str(oRep:nPage,3)+"/"+Str(nTotalpages,3)} }, oRep, 2 ) I tried also with nTotalpages:=:= Round(oRep:nCount/oRep:nPageSize,0) ...
by Silvio.Falconi
Fri Nov 17, 2023 3:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Number Total Pages
Replies: 2
Views: 194

Number Total Pages

... MySetUp( oRep, oBrw, oDbf,aGroup,nGroup,lEject,afields ) local nTotalpages:=0 // LTrim( Str( Len( oRep:oDevice:oDevice:aMeta ) ) ) oRep:oheader := TrLine():New( {{||cTitle1},{||cTitle2} }, oRep, 0 ) oRep:oTitle := TrLine():New( {{|| cf(date())+"- Pagina : "+Str(oRep:nPage,3)+"/"+Str(nTotalpages,3)} ...
by Silvio.Falconi
Fri Jun 23, 2023 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Number Total Pages
Replies: 2
Views: 257

Re: set Report Orientation

... n ,llandscape) ?llandscape // here is nil if llandscape oRep:lAutoLand := .T. else oRep:lAutoLand := .f. Endif oRep:CellView() oRep:oFooter := TrLine():New( {{|| "Page : "+Str(oRep:nPage,3)} }, oRep, 3 ) return nil
by Silvio.Falconi
Tue Jan 04, 2022 12:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: set Report Orientation
Replies: 17
Views: 1040

TRLine:Del

Hello, I have a crash in TRLine:Del at line 187: Adel(::aRow,nLinIni) This is because ::aRow is Inited on Stabilize. I see that TRLine if first line is empty does not write nothing, but I think that a better behaviour is that ...
by AntoninoP
Thu Apr 23, 2015 10:58 am
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: TRLine:Del
Replies: 0
Views: 641

Re: Encabezado Solo en la Primer Hoja

Ya logre quitarlos, Así:

ON ENDPAGE ( oReporte:oHeader := TrLine():New({}) , oReporte:oTitle := TrLine():New({}) )

Pero el detalle que después de la primera hoja, el espacio que ocupaba el encabezado
el listado no lo ocupa, queda vacío sin ocupar.

Alguien sabrá como corregirlo ?
by VitalJavier
Thu Sep 11, 2014 6:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Encabezado Solo en la Primer Hoja SOLUCIONADO
Replies: 2
Views: 407

Re: Omitir oTitle en paginas de oReport

Lo he resuelto así:
if(oReport:nPage>1, oReport:oTitle:=TrLine():New({{||""}}, oReport,) ,) //oTitle solo en 1a. pag
Saludos.
by FranciscoA
Fri Jun 07, 2013 1:43 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Omitir oTitle en paginas de oReport (SOLUCIONADO)
Replies: 1
Views: 415

Re: Report footers

Hola, a report´s footer is a TRLine object, this object has some data aLine text for footer ( one codeblock for every line ) aPad justify ( one nPad for every line ) then you can change the justify for every foorter line with : oReport:oFooter:aPad[ ...
by Marcelo Via Giglio
Mon Nov 05, 2012 6:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report footers
Replies: 2
Views: 1095

Re: error in five DBU

... TBAR 26 TRECT 27 TBTNBMP 28 TMSGBAR 29 TMSGITEM 30 TTIMER 31 TMDICHILD 32 TXBROWSE 33 TXBRWCOLUMN 34 TSCROLLBAR 35 TPRINTER 36 TREPORT 37 TPEN 38 TRLINE 39 TRCOLUMN 40 TDIALOG 41 TBUTTON 42 TSAY 43 TPREVIEW 44 TCURSOR 45 TMETAFILE 46 TCOMBOBOX 47 TCLIPBOARD 48 TREG32 Memory Analysis =============== ...
by fp
Fri Jun 08, 2012 6:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error in five DBU
Replies: 18
Views: 7114

Re: Help needed in the wiki!

... TPanel TParser TPen TPOP3 TPrinter TProgress TProxy TRadio TRadMenu TRas TRColumn TRdd TRddOdbc TReBar TRect TReg32 TReport TRFile TRichEdit TRLine TView TWBrowse The following Functions are also rectified. There are many functions yet to be corrected. FiveWin Functions Browse() BarPaint() ...
by anserkk
Fri Feb 19, 2010 10:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help needed in the wiki!
Replies: 4
Views: 1307

Re: AYUDA CON REPORT PREVIEW

... {|| "Titulo2" } ) REPORT oRpt PREVIEW; HEADER "Header1", "Header2" ; FONT oFont01 CAPTION NRP oRpt:oTitle := TrLine():New( aTitulo, oRpt, 3 ) ....
by Daniel Garcia-Gil
Fri Feb 06, 2009 5:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA CON REPORT PREVIEW
Replies: 3
Views: 468

ERRON EN GENERAR REPORTES CON oREPORT FWH812

... 10: U Param 11: U Param 12: U Param 13: U Param 14: U Local 1: O Class: TREPORT Local 2: O Class: TSAY Local 3: N 460200 IMPACT Local 1: O Class: TRLINE Local 2: O Class: TFONT (b)VISACT TBTNBMP:CLICK Param 1: O Class: TBTNBMP TBTNBMP:LBUTTONUP Local 1: O Class: TBTNBMP TWINDOW:HANDLEEVENT Param ...
by JOSEMAR
Mon Jan 19, 2009 5:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERRON EN GENERAR REPORTES CON oREPORT FWH812
Replies: 2
Views: 1521

PARA M. MERCADO SOBRE TSBROWSE ERROR

... 24 TSAY 25 TCOMBOBOX 26 TGET 27 GET 28 TCLIPGET 29 TDBCOMBO 30 TBTNGET 31 TSBROWSE 32 TSCOLUMN 33 TSBSCRLBAR 34 TREPORT 35 TPRINTER 36 TPEN 37 TRLINE 38 TRCOLUMN 39 TBUTTON 40 TCURSOR 41 TSCROLLBAR 42 TBAR 43 TBTNBMP 44 TSTATUSBAR 45 TMETAFILE 46 TREG32 Memory Analysis =============== 177 Static ...
by mantonio_08
Wed Jul 09, 2008 12:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PARA M. MERCADO SOBRE TSBROWSE ERROR
Replies: 6
Views: 2471

... CODE 0004:1E2A 0018EH SETEOS CODE 0004:1FB8 00120H SETEOS2 CODE 0004:20D8 00059H EMPRESA CODE 0004:2132 0048BH PRNBOL CODE 0004:25BE 0022AH TRLINE CODE 0004:27E8 000E1H ADD CODE 0004:28CA 000FCH ADD CODE 0004:29C6 0008FH ADD CODE 0004:2A56 0009EH ADD CODE 0004:2AF4 002FCH ADD CODE 0004:2DF0 ...
by Connan
Fri Mar 03, 2006 10:28 am
 
Forum: FiveWin para CA-Clipper
Topic: GPF, como buscar el Error
Replies: 3
Views: 3528
Next

Return to advanced search

cron