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.

ToptionList

Xailer professional forum in English
Responder
Pedro Sousa e Faro
Mensajes: 91
Registrado: Mié May 30, 2007 5:25 pm

ToptionList

Mensaje por Pedro Sousa e Faro »

Hi ,
I build a "ToptionList" with the Object Inspector .
I've have several "Subitems" in some "Items".
I need to disable by "code" some Subitems , but i notice that there isn't a
reference to that subitem.
How can we refer a subitem in a Toption List ?
Regards
Pedro Faro
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

ToptionList

Mensaje por ignacio »

Pedro,
Use TOptionItem:aItems property.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Pedro Faro" <psfaro@shi.pt> escribió en el mensaje de
noticias:4c8dff1c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Hi ,
>
> I build a "ToptionList" with the Object Inspector .
>
> I've have several "Subitems" in some "Items".
>
> I need to disable by "code" some Subitems , but i notice that there isn't
> a reference to that subitem.
>
> How can we refer a subitem in a Toption List ?
>
> Regards
>
> Pedro Faro
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Pedro Sousa e Faro
Mensajes: 91
Registrado: Mié May 30, 2007 5:25 pm

ToptionList

Mensaje por Pedro Sousa e Faro »

Hi Ignacio,
Thank's . Didn't see in Manual.
WITH OBJECT ::oOptionList1:aItems[1]
msginfo(len(:tOptionItem:aItems))
END
Regards
Pedro Faro
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> escreveu na
mensagem news:4c8e0297$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Pedro,
>
> Use TOptionItem:aItems property.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer / Xailer team]
> http://www.xailer.com
> http://www.xailer.info
> http://www.xailer.com/forum
> http://www.xailer.com/dokuwiki
>
>
> "Pedro Faro" <psfaro@shi.pt> escribió en el mensaje de
> noticias:4c8dff1c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Hi ,
>>
>> I build a "ToptionList" with the Object Inspector .
>>
>> I've have several "Subitems" in some "Items".
>>
>> I need to disable by "code" some Subitems , but i notice that there isn't
>> a reference to that subitem.
>>
>> How can we refer a subitem in a Toption List ?
>>
>> Regards
>>
>> Pedro Faro
>>
>>
Responder