Subclass method -distorted now put again

Ary Borenszweig ary at esperanto.org.ar
Wed May 7 03:38:18 PDT 2008


June escribió:
> 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);}

name.setText(text) ?

But name is of type char[]

> 
> How can  I bring this into my program ?

Maybe you could show what you do now, and how you would like to have it 
if you were able to do what you want. I don't understand what you are 
trying to do. :(


More information about the Digitalmars-d-learn mailing list