> It's not unnecessary in fact. Imagine if a children not implement the > property... then it's the property in the parent that is readed. >
Yes I know, but in my case it is unnecessary. > Another way is to not declare the property in the parent and use an > object type to walk the children. > > > Dosometing(hChild as Myclass) > > dim hObj as Object = hChild > > try hObj.DoSomethingElse() > > end > Thanks for the suggestion. Though, I hope something more elegant... Jussi ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user