|
| How to focus TextBox control inside of TabControl? |
|
|
|
|
| Messages |
|
Related Types |
This message was discovered on microsoft.public.dotnet.framework.windowsforms.
| Nikolay Unguzov |
| GOOD ANSWER |
I have simple form with 1 panel. In first panel I have one TabControl. In the TabControl I have one TextBox.
How to focus TextBox control inside of TabControl? Because this code isn't work:
Panel1.Focus()
TabControl1.Focus()
TextBox1.Focus()
My idea is keyboard input to be focused on the TextBox when Form1 is opened.
Nikolay Unguzov
|
|
|
| |
|
|
| |
| |
| ClayB [Syncfusion] |
| GOOD ANSWER |
Are you trying to do this from, say within Form.Load? If so, try code like
Me.ActiveControl = Me.TextBox1
================= Clay Burch, .NET MVP
Visit www.syncfusion.com for the coolest tools
"Nikolay Unguzov" <Click here to reveal e-mail address> wrote in message news:eSGvSvTvCHA.1624@TK2MSFTNGP10... [Original message clipped]
|
|
|
| |
|
|
| |
| | |
|
|
|
|
|
|
|
|
BootFX
Reliable and powerful .NET application framework. |
|
|
|
|
|
|