Setting Focus during activated event doesn't work.

Hello,

I have an application that has a main form which correctly sets the focus during the activate event to the control that I want, however, any new forms that I open will not retain the focus to the control I set. The focus always returns to the form after the activate event is complete.

Is anyone else having this issue?

Thanks

[349 byte] By [BadgerB] at [2007-12-16]
# 1

Figured out a workaround finally, Put a myControl.focus() call in the gotFocus event for the form. Works every time now.

Thanks

BadgerB at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...