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 2010/12/13 Fabián Flores Vadell <[email protected]>: > I need to check if the symbols obtained from > > typeControl = Object.Class(aWidget) > > are properties, but I don't found how to do this. > > FOR EACH symbol IN typeControl.Symbols > 'I need test if symbol is a property here > NEXT > > I would be pleased if I could use a test like: IF (symbol.type = > typeControl.Property) THEN > > But, I can't do that in Gambas2 because symbol is a String. In Gambas3 > I can't use .Symbols.Kind because it is a virtual class > > So. How I could do that? > > > -- > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
