Search found 16 matches: ndatarows
Searched query: ndatarows
- 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
- 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
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
- 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 ...
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 ...
- 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](https://i.postimg.cc/PxmGFxQK/init.png)
after search
![Image](https://i.postimg.cc/xCPxzbRr/sea.png)
init
![Image](https://i.postimg.cc/PxmGFxQK/init.png)
after search
![Image](https://i.postimg.cc/xCPxzbRr/sea.png)
- 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 ...
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 ...
- 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.
would work
Also oBrw:nDataRows changes when browse is resized.
Code: Select all | Expand
DEFINE BUTTON/BTNBMP ..... (arrows) ... WHEN ( oBrw:nDataRows >= oBrw:nLen )
- Fri Feb 23, 2024 4:38 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Count xbrowse records
- Replies: 5
- Views: 777
Re: Count xbrowse records
Thank you!Silvio.Falconi wrote:perhaps
len(oBrw:aArrayData )
or
oBrw:nDataRows
- 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
len(oBrw:aArrayData )
or
oBrw:nDataRows
- 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 ...
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 ...
- 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 ...
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 ...
- 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 ...
(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 ...
- 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 ...
(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 ...
- Thu Apr 17, 2008 6:57 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Number of Row in TXBrowse()? Found ;>
- Replies: 3
- Views: 663
- 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
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
- Mon Nov 12, 2007 8:41 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBrowse - incremental search
- Replies: 5
- Views: 1094