Getting focus on a textbox which is in a tab in c#

If you place a tab and put some controls inside it and you try to focus on the textbox you will not be able to focus in the textbox directly. The way is to set the property tabstop = false of the tabcontrol and then set the control inside the tab and set the tabindex = 0

Advertisements

One thought on “Getting focus on a textbox which is in a tab in c#

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s