main form is not activated
-
Hello, I am using borderless form as main form. It has a menu bar associted with it. The problem is that main for window is not focused by default. Menus gets highlighted when i move mouse over it but they do not expand as i click on it. I need to click one more time to expand the menu. What should i do so that form is activated as soon as it comes up. Thanks in advance.
-
Hello, I am using borderless form as main form. It has a menu bar associted with it. The problem is that main for window is not focused by default. Menus gets highlighted when i move mouse over it but they do not expand as i click on it. I need to click one more time to expand the menu. What should i do so that form is activated as soon as it comes up. Thanks in advance.
Call the Focus() method in your form loaded event.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.