By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,346 Members | 2,318 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,346 IT Pros & Developers. It's quick & easy.

Focus On Tab Control

P: n/a
This is probably simple but it has me stumped.

I have a tab control which has several text boxes on one of the tabs.
This tab has no other controls such as command buttons etc. When I
select the tab, the focus moves to the first text box. In the absence
of any other control such as a command button to set the focus to, is
there any way of stopping any of the text boxes from receiving focus
when the tab is selected.

Thanks in advance.
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Wayne,
If the text boxes are disabled, they won't receive the focus.
Alternatively, create a dummy text box with the backcolor set to
transparent, and make it the first aTab stop.

--
Bob Darlington
Brisbane
"Wayne Aprato" <cq*******@volcanomail.com> wrote in message
news:4d**************************@posting.google.c om...
This is probably simple but it has me stumped.

I have a tab control which has several text boxes on one of the tabs.
This tab has no other controls such as command buttons etc. When I
select the tab, the focus moves to the first text box. In the absence
of any other control such as a command button to set the focus to, is
there any way of stopping any of the text boxes from receiving focus
when the tab is selected.

Thanks in advance.

Nov 13 '05 #2

P: n/a
Thanks for the help Bob.
"Bob Darlington" <bo*@dpcmanAX.com.au> wrote in message news:<41**********************@news.optusnet.com.a u>...
Wayne,
If the text boxes are disabled, they won't receive the focus.
Alternatively, create a dummy text box with the backcolor set to
transparent, and make it the first aTab stop.

--
Bob Darlington
Brisbane
"Wayne Aprato" <cq*******@volcanomail.com> wrote in message
news:4d**************************@posting.google.c om...
This is probably simple but it has me stumped.

I have a tab control which has several text boxes on one of the tabs.
This tab has no other controls such as command buttons etc. When I
select the tab, the focus moves to the first text box. In the absence
of any other control such as a command button to set the focus to, is
there any way of stopping any of the text boxes from receiving focus
when the tab is selected.

Thanks in advance.

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.