Search found 16 matches: ndatarows

Searched query: ndatarows

by Marc Venken
Tue Aug 27, 2024 3:17 pm
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE amount of visible rows
Replies: 2
Views: 850

Re: XBROWSE amount of visible rows

For visible rows in xbrowse, it is oBrw:nDataRows
by Silvio.Falconi
Wed Mar 27, 2024 9:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 2499

Re: records on xbrowse

... a sample "frank" ( on First) ndatarow is 3 and also obrw:nlen is 3

I tried to inser a variable nTotalrecords at init

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
Tue Mar 26, 2024 12:49 pm
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 2499

Re: records on xbrowse

... 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 ...
by Silvio.Falconi
Tue Mar 26, 2024 11:29 am
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 2499

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:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 2499

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 )
would work


Not%20working

I made
@ oBrw:nbottom+2, oBrw:nWidth-86 BTNBMP ...
by nageswaragunupudi
Tue Mar 26, 2024 9:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 2499

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

DEFINE BUTTON/BTNBMP ..... (arrows)  ... WHEN ( oBrw:nDataRows >= oBrw:nLen )
would work
by wartiaga
Fri Feb 23, 2024 4:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Count xbrowse records
Replies: 5
Views: 777

Re: Count xbrowse records

Silvio.Falconi wrote:perhaps

len(oBrw:aArrayData )

or

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

Re: Count xbrowse records

perhaps

len(oBrw:aArrayData )

or

oBrw:nDataRows
by nageswaragunupudi
Sun Feb 25, 2018 2:58 pm
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse
Replies: 14
Views: 3017

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 do this in 2 ways.

oBrw:nRowHeight := <large value>
Or
oBrw:nDataLines := 2 ...
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: 925

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, podríamos obtener las ...
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: 2361

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
Thu Apr 28, 2011 8:39 am
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2011 (FWH 11.04)
Replies: 1
Views: 2361

New FTDN April/Abril 2011 (FWH 11.04)

... 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 nageswaragunupudi
Thu Apr 17, 2008 6:57 am
Forum: FiveWin for Harbour/xHarbour
Topic: Number of Row in TXBrowse()? Found ;>
Replies: 3
Views: 663

I do not understand what exactly you want.

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

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 Biel EA6DD
Mon Nov 12, 2007 8:41 am
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse - incremental search
Replies: 5
Views: 1094

... 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 ...