Let''s say I create a form with a TabControlAdv containing a couple of pages with some controls into it. How can I give the focus to a specific control in the page when the form loads? I attach a dummy sample with a do-nothing form with a TabControlAdv. I''d like it to load with the text box in the first page focused.
Thanks in advance!
ADAdministrator Syncfusion Team September 17, 2004 03:33 PM
Thanks for the test sample. You could achieve this by handling the main form''s Loadevent as shown below :
private void Form1_Load(object sender, System.EventArgs e)
this.ActiveControl = this._txtToBeFocused;
Please refer to the modified sample attached here that illustrates the same, and let me know if you need further assistance. We appreciate your continued interest in Syncfusion products.