Hi.
I have a Windows form and when it loads focus should be on a combo box. This works correctly but the visual indicator (dotted rectangle) does not appear on the combo box though it has focus. I can confirm that the focus is there as I am able to select using the arrow keys.
I have tried using combobx.Focus() and combobx.Select() but none of them worked.
Can someone please help and advise.
Thanks

I think perhaps the focus indicator is there but you're not seeing it. The focus indicator is basically the border changing color slightly and the cursor changing to I-beam

Hi tinstaafl,
Thanks for replying.
The border does not change color as you mentioned.
I am using Windows 7 Enterprise. Is it problem with the Windows Scheme? Because if I run the same application on Windows XP, I can see the dotted rectangle on the combo box.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.