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.

Array Browse columns ....

Xailer English public forum
Responder
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Array Browse columns ....

Mensaje por ChrisGillard »

A question of how to do with TArrayBrowse() ....
- How can I only browse elements 1, 3 an 5 say of an array so ....
Browse column 1 is array element 1
Browse column 2 is array element 3
Browse column 3 is array element 5
Regards
Chris Gillard
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9442
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Array Browse columns ....

Mensaje por ignacio »

Chris,
Create the columns at design time and change its OnGetData event.
Regards,
Note: Another undocumented way: Change the property TBrwColumn:nArrayCol
that holds the array element
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:4655bb02$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>A question of how to do with TArrayBrowse() ....
>
> - How can I only browse elements 1, 3 an 5 say of an array so ....
> Browse column 1 is array element 1
> Browse column 2 is array element 3
> Browse column 3 is array element 5
>
> Regards
>
> Chris Gillard
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Array Browse columns ....

Mensaje por ChrisGillard »

Ignacio,
I had thought about the OnGetData event .... but I like the sound of
changing Col:nArrayCol.
That will do nicely.
Hopefully my questions will decrease once I have learned a few more things.
Thnaks for your help.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4656978a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Chris,
>
> Create the columns at design time and change its OnGetData event.
>
> Regards,
>
> Note: Another undocumented way: Change the property TBrwColumn:nArrayCol
> that holds the array element
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:4655bb02$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>A question of how to do with TArrayBrowse() ....
>>
>> - How can I only browse elements 1, 3 an 5 say of an array so ....
>> Browse column 1 is array element 1
>> Browse column 2 is array element 3
>> Browse column 3 is array element 5
>>
>> Regards
>>
>> Chris Gillard
>>
>
>
NLF
Mensajes: 2
Registrado: Lun May 28, 2007 3:08 pm

Array Browse columns ....

Mensaje por NLF »

Ignacio, i need talk to you, can you please contact me in private email??
thanks
Responder