T
Tony
Based on data present when I load a form, I need to be able to set focus to
a specific control.
I have added code as the last line of my Load handler setting a control to
have focus. e.g. control3.Focus().
But when the form is displayed, the first control with tab stop has focus
instead of the control I set.
This should be a very basic thing to do but I can't figure out how.
In the WIN32 API, you would return false form the OnInitDialog() method to
allow retention of focus you set programmatically.
Anyone know how to do this?
Thanks,
Tony
a specific control.
I have added code as the last line of my Load handler setting a control to
have focus. e.g. control3.Focus().
But when the form is displayed, the first control with tab stop has focus
instead of the control I set.
This should be a very basic thing to do but I can't figure out how.
In the WIN32 API, you would return false form the OnInitDialog() method to
allow retention of focus you set programmatically.
Anyone know how to do this?
Thanks,
Tony