M
Michael A. Covington
Greetings all,
I have an About Box which was added to the project with Microsoft's wizard,
edited a bit so it just has 2 text box in it, and works fine.
I'm trying to also use it as a splash screen which I put up before, and take
down after, a time-consuming initialization operation. For this purpose I
made another constructor for it which does InitializeComponent(), stuffs
some different text in one of the text boxes, and then sets buttonOK.Visible
= false.
Well... When it pops up, the entire text in one of the text boxes is
highlighted.
This affects whichever text box is earlier in the tab order, and is caused
by making the OK button invisible, presumably throwing the focus to the text
box.
What should I do? My present kluge is to "hide" the button by putting a
text box in front of it but not setting it invisible.
Can the text boxes be made non-focusable?
Thanks!
I have an About Box which was added to the project with Microsoft's wizard,
edited a bit so it just has 2 text box in it, and works fine.
I'm trying to also use it as a splash screen which I put up before, and take
down after, a time-consuming initialization operation. For this purpose I
made another constructor for it which does InitializeComponent(), stuffs
some different text in one of the text boxes, and then sets buttonOK.Visible
= false.
Well... When it pops up, the entire text in one of the text boxes is
highlighted.
This affects whichever text box is earlier in the tab order, and is caused
by making the OK button invisible, presumably throwing the focus to the text
box.
What should I do? My present kluge is to "hide" the button by putting a
text box in front of it but not setting it invisible.
Can the text boxes be made non-focusable?
Thanks!