[Gambas-user] check if a symbol of a class is a property

Fabián Flores Vadell fabianfloresvadell at ...626...
Mon Dec 13 21:09:40 CET 2010


2010/12/13 Fabien Bodard <gambas.fr at ...626...>:
> simple :)
>
> if Object.class(aWidget)["symbolename"].kind = Class.Property then ...
>
> or
>
> dim hClass as Class
>
> hClass = Object.class(TextBox1)
> if hClass["Text"].Kind = Class.Property Then...
>
>
> http://gambasdoc.org/help/comp/gb/.symbol/kind?v3

Thanks Fabien. It's possible to do that in Gambas2 too?

-- 
Fabián Flores Vadell
www.comoprogramarcongambas.blogspot.com
www.speedbooksargentina.blogspot.com




More information about the User mailing list