I've created a user control that is now one of many standard controls on a form. It functions OK once it has focus but I have to click on it (with no action taking place) for it to get focus. I've tried to set focus based on mouseenter, gotfocus, enter (control events) but these events are not reliable in firing every time the mouse enters the control. I also tested for mouseleave as well and this fires after mouseenter is raised even though the mouse doesn't actually leave the control!
There must be a way to get the control to do something without the first wasted click! I'm guessing I've missed something fundamental.
Any ideas please?
There must be a way to get the control to do something without the first wasted click! I'm guessing I've missed something fundamental.
Any ideas please?