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.

Read control property cVarName

Xailer professional forum in English
Responder
Xailer
Mensajes: 328
Registrado: Mar Dic 23, 2008 5:40 pm

Read control property cVarName

Mensaje por Xailer »

Good Morning
First thank's Jose for the mail and beta, seems all Ok. Now i need your's help to read the property cVarName of a control. How to do this?
Dionisis Divaris
SGS-soft
Home Page :
Support at :support.sgs@gmail.com[/email]
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9447
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Read control property cVarName

Mensaje por ignacio »

Xailer escribió el vie, 20 mayo 2011 06:32Good Morning
First thank's Jose for the mail and beta, seems all Ok. Now i need your's help to read the property cVarName of a control. How to do this?

DC,
I'm afraid that property is not available at run-time, sorry.
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Xailer
Mensajes: 328
Registrado: Mar Dic 23, 2008 5:40 pm

Read control property cVarName

Mensaje por Xailer »

Hello Ignacio
Many thanks for answer, maybe using the Cargo property assigning the names of controls as strings?
Dionisis Divaris
SGS-soft
Home Page :
Support at :support.sgs@gmail.com[/email]
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9447
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Read control property cVarName

Mensaje por ignacio »

Xailer escribió el vie, 20 mayo 2011 11:35Hello Ignacio
Many thanks for answer, maybe using the Cargo property assigning the names of controls as strings?

That can be a possibility. I prefer this one:
CLASS TMyForm FROM TForm
DATA aMyControls INIT {::oEdit1, ::oEdit2, ::oEdit3 }
END CLASS
Then use ::aMyControls to point to the desired object.
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder