Subclass method

June somewhere at so.com
Tue May 6 16:26:56 PDT 2008


I want to add a methd to an instance of dwt.widgets.Text.

void setText(char[] name, char[] text){  name.setText(text);}

there is  ' setText(char[] text)  ' in the base class

each instance has a name. I cannot get this to work? 
the Tango book covers this very weakly


More information about the Digitalmars-d-learn mailing list