Subclass method -distorted now put again

June somewhere at so.com
Tue May 6 22:45:38 PDT 2008


dwt.widget.Text has method
 
void setText  (char[] string); 
Sets the contents of the receiver to the given string. 

In my application I use many of these text boxes each with a name so I need a function 

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

How can  I bring this into my program ?


More information about the Digitalmars-d-learn mailing list