[Gambas-user] ClassName

Dani Santos jose.santos at ...429...
Tue Oct 18 10:33:50 CEST 2005


Supossing you've got a txtTest TextBox:

if Object.Class (txtTest) = "TextBox" then
	' Control code ...
endif

Regards.



El mar, 18-10-2005 a las 10:12 +0000, sakya escribió:
> Hi!
> 
> Ho can I get the ClassName of an object in a loop like:
> 
>     for each obj in form.Children
> 
>     next
> 
> Many thanks!
> Ciao
> Sakya
> 
> 		
> ___________________________________ 
> Yahoo! Messenger: chiamate gratuite in tutto il mondo 
> http://it.messenger.yahoo.com
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
-- 
José Daniel Santos Delgado
Programador del IESO Quercus (Malpartida de Plasencia)
http://iesoquercus.juntaextremadura.net/dani/
Tfno: 927010850         Fax: 927010851





More information about the User mailing list