Focus

  • Thread starter Thread starter Pengyu Hong
  • Start date Start date
P

Pengyu Hong

I have several controls in a frame. I want one of controls to have the focus
(input focus) when the program starts. However cotrol.Focus() does not work.
How to fix this problem?

Thanks a lot,

Pengyu
 
Pengyu,

It should work. Have you tried to set the tab order so that your
control is first? You shouldn't have to call Focus.

Hope this helps.
 
Back
Top