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

Fabien Bodard gambas.fr at ...626...
Tue Dec 14 07:28:45 CET 2010


yes

2010/12/13 Fabián Flores Vadell <fabianfloresvadell at ...626...>:
> 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
>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard




More information about the User mailing list