Página 1 de 1

How can find the type of a control

Publicado: Vie Dic 10, 2010 3:29 pm
por Xailer
To All
How van determine programmaticaly the type of a control for example TEdit,TMaskEdit etc.
TIA
Dionisis

How can find the type of a control

Publicado: Vie Dic 10, 2010 4:21 pm
por ignacio
Dionisis,
The method Classname() returns the name of the class, for example: 'TEdit'.
BTW, is better to use the method:
IsKindOf( cClassName )
Which returns true if the object is a instance of the class 'cClassName' or
any of its ancestors.
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
"Dionisis" escribió en el mensaje de noticias:4d02395e$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
To All
How van determine programmaticaly the type of a control for
example TEdit,TMaskEdit etc.
TIA
Dionisis

How can find the type of a control

Publicado: Vie Dic 10, 2010 7:47 pm
por Xailer
Work Perfect! Many thanks Ignacio.
Best Regards
Dionisis