I m creating a multi tab application. i m adding tab & RichTextBox in tab control through programming. i want to access the text of rich text box.
plz help me....
plz help me....
Dim form As ControlCollection = Me.Controls
Dim richTxt as array
richTxt = grpBox.Controls.Find("Richtxt", True)
' Richtxt is the name property of the richtextbox you are searching for.
'you can refer to its text property using...
richTxt(0).text= "modify me .... .... ..."
TextBox myNewTextbox;
private void SetupControls()
{
myNewTextBox = new TextBox();
myNewTextBox.Text = "Feed me Simore";
myNewTextBox.Click += new MyNewTextBox_Click(ClickHandler);
}
Comment