M
Maciej
U¿ytkownik "Sharon said:Hi all
Is it possible to refer a control by his name programmatically?
Example:
I have text box and a button on a form
txtName
btnClick
And what I want to do is:
myForm.GetControl("txtName").text = "xxx"
myForm.GetControl("btnClick").text = "xxx"
You should use:
this.txtName.text="xxx";
and
this.btnClick.text="xxx";