G
Guest
Hi there,
I've got what I hope is a simple problem to solve...
Here's the back story: I have a windows form. On the form is a panel
containing three textboxes. Also on the form is a text box and an ok button.
Here's the problem: On condition A, I want input focus to go to a textbox on
the panel when the form loads. On condition B, I want the input focus to go
to the textbox that's on the form when the form loads. Seems pretty simple.
However, I've tried changing the tabindex of each of the text controls and
setting the focus property of the relevant control on form load, but to no
avail. I know there's got to be a simple way to do this!
Any help is appreciated
Mike
I've got what I hope is a simple problem to solve...
Here's the back story: I have a windows form. On the form is a panel
containing three textboxes. Also on the form is a text box and an ok button.
Here's the problem: On condition A, I want input focus to go to a textbox on
the panel when the form loads. On condition B, I want the input focus to go
to the textbox that's on the form when the form loads. Seems pretty simple.
However, I've tried changing the tabindex of each of the text controls and
setting the focus property of the relevant control on form load, but to no
avail. I know there's got to be a simple way to do this!
Any help is appreciated
Mike