In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

How to get the current linenumber in TArrayBrowse

Xailer English public forum
Responder
Gejza Horvath
Mensajes: 281
Registrado: Mar Ago 15, 2006 1:50 pm

How to get the current linenumber in TArrayBrowse

Mensaje por Gejza Horvath »

Hi all,
I'm using Clipper since 1990, and now testing the Xailer Demo. Nice product. Some
questions:
1. How can I get the array index of selected row in TArrayBrowse? I'm looking for methods
or property like GetSelectedRowNum()
2. How to define a condition to show or hide the array element in browser? E.g. property
FilterExpression(CodeBlock)
Best regards
Gejza Horvath
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

How to get the current linenumber in TArrayBrowse

Mensaje por Giuseppe Bogetti »

Il Tue, 15 Aug 2006 13:50:39 +0200, Gejza Horvath ha scritto:
Gejza,
> 1. How can I get the array index of selected row in TArrayBrowse? I'm looking for methods
> or property like GetSelectedRowNum()
You can use the property :nArrayAt so you can refere to an array row with
:aArrayData[ :nArrayAt ]
For more details please have a look in the Help file under Browses -
ArrayBrowse
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Responder