Search found 15 matches: ndatarows

Return to advanced search

Re: records on xbrowse

... oDbf:= TCustomer():New() oDbf:setorder(1) oDbf:Gotop() nTotalRecords:= oDbf:OrdKeyCount() and the on each button WHEN ( nTotalRecords > oBrw:nDataRows ) but it's wrong also
by Silvio.Falconi
Wed Mar 27, 2024 9:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1729

Re: records on xbrowse

... or oBrw:KeyCount() works for all datasources. ok but the button are not refreshed , only when I move the mouse into obrw for a sample WHEN ( oBrw:nDataRows <= oBrw:nLen ) not work WHEN ( oBrw:nDataRows >= oBrw:nLen ) not work oBrw:nDataRows <= oBrw:nLen - Not working https://i.postimg.cc/k4ZJVmrK/1.gif ...
by Silvio.Falconi
Tue Mar 26, 2024 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1729

Re: records on xbrowse

perhaps I resolved with WHEN ( oBrw:nDataRows < oDbf:OrdKeyCount() )

init
Image

after search
Image
by Silvio.Falconi
Tue Mar 26, 2024 11:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1729

Re: records on xbrowse

oBrw:nLen and oBrw:nDataRows get their values after the first Refresh/paint of the browse. Also oBrw:nDataRows changes when browse is resized. DEFINE BUTTON/BTNBMP ..... (arrows)  ... WHEN ( oBrw:nDataRows >= oBrw:nLen ...
by Silvio.Falconi
Tue Mar 26, 2024 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1729

Re: records on xbrowse

oBrw:nLen and oBrw:nDataRows get their values after the first Refresh/paint of the browse.
Also oBrw:nDataRows changes when browse is resized.

Code: Select all  Expand view
DEFINE BUTTON/BTNBMP ..... (arrows)  ... WHEN ( oBrw:nDataRows >= oBrw:nLen )

would work
by nageswaragunupudi
Tue Mar 26, 2024 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1729

Re: Count xbrowse records

Silvio.Falconi wrote:perhaps

len(oBrw:aArrayData )

or

oBrw:nDataRows


Thank you!
by wartiaga
Fri Feb 23, 2024 4:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Count xbrowse records
Replies: 5
Views: 261

Re: Count xbrowse records

perhaps

len(oBrw:aArrayData )

or

oBrw:nDataRows
by Silvio.Falconi
Thu Feb 22, 2024 1:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Count xbrowse records
Replies: 5
Views: 261

Re: xbrowse

I wrongly said "nDataRows". It should be nDataLines Set nDataLines := 2 // or more Let me explain: If the vertical height of the cell can display more lines, xbrowse automatically split the text and show more lines. You can ...
by nageswaragunupudi
Sun Feb 25, 2018 2:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse
Replies: 14
Views: 2629

Re: Última linea al final del browse

Andres Quizas tengas que definir un bGoBottom teniendo en cuenta, según creo, que la DATA nDataRows nos dice cuantos datos estamos viendo y restando dicho valor al ultimo registro para posicionarnos en el. Como no estoy seguro que dicha DATA nDataRows tenga dicha informacion, ...
by cnavarro
Fri Dec 20, 2013 9:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Última linea al final del browse (SOLUCIONADO)
Replies: 5
Views: 780

Re: New FTDN April/Abril 2011 (FWH 11.04)

... Excel en el PC destino. (c) No exporta datos de la imagen. (d) El bloque de código bProgress, si se proporciona, se evalúa cada 100 filas con nDataRows, con el objeto oReport como parámetro. (e) El encabezado y pie de página se exportan a la hoja de cabecera y pie de páginade Excel en PageSetup. ...
by Antonio Linares
Tue May 03, 2011 11:09 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2011 (FWH 11.04)
Replies: 1
Views: 1996

New FTDN April/Abril 2011 (FWH 11.04)

... Excel to be installed on the target pc. (c) Does not export image data. (d) bProgress codeblock, if provided, is evaluated for every 100 rows with nDataRows, oReport object as parameters. (e) Header and Footer are exported to excel sheet's header and footer in pagesetup. * New Data oReport in Class ...
by Antonio Linares
Thu Apr 28, 2011 8:39 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2011 (FWH 11.04)
Replies: 1
Views: 1996

I do not understand what exactly you want.

If you mean number of visible rows in xbrowse, it is oBrw:nDataRows
by nageswaragunupudi
Thu Apr 17, 2008 6:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Number of Row in TXBrowse()? Found ;>
Replies: 3
Views: 624

Number of Row in TXBrowse()? Found ;>

Dear Antonio,

I need to show the number of Items (Row) in XBrowse.
I try :nRowSel , :nDataRows, :nDataLines :nAt() but it doesn't show correctly.

Which DATA or Methed to show it?

Regards,
Dutch
by dutch
Thu Apr 17, 2008 6:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Number of Row in TXBrowse()? Found ;>
Replies: 3
Views: 624

... ) ::nRowsel := 1 else ::lRefreshOnlyData := .t. //<======================here endif ::cSeek := cSeek uSeek := Eval( ::bBookMark ) nRows := ::nDataRows lRefresh := .t. if ::oSeek != nil ::oSeek:SetText( cSeek ) endif Eval( ::bBookMark, uBook ) Eval( ::bSkip, 1 - ::nRowSel ) for nFor := 1 to ...
by Biel EA6DD
Mon Nov 12, 2007 8:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse - incremental search
Replies: 5
Views: 1026

... if ::nRowSel > Eval( ::bKeyNo ) ::nRowsel := 1 else ::lRefreshOnlyData := .t. endif ::cSeek := cSeek uSeek := Eval( ::bBookMark ) nRows := ::nDataRows lRefresh := .t. if ::oSeek != nil ::oSeek:SetText( cSeek ) endif Eval( ::bBookMark, uBook ) Eval( ::bSkip, 1 - ::nRowSel ) for nFor := 1 to ...
by Otto
Mon Nov 12, 2007 8:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse - incremental search
Replies: 5
Views: 1026

Return to advanced search