We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Toolbar takes focus

Hi, in my "HTML-Editor-like" project I use a XPToolbar with toolbar buttons like "bold", "italic"... when the user clicks on one of the toolbar buttons, the toolbar takes away the focus from my editor-window. calling 'Focus()' on my editor-window after processing the click-event of the toolbar does not bring the focus back to my editor. I would like the focus to stay in my editor so that the user doesn't have to click in it to continue editing. Is there any solution to my problem? (my document window is an instance of the Microsoft Webbrowser Control) Thanks

3 Replies

RP Ramesh Praveen Syncfusion Team May 12, 2003 03:43 PM UTC

Markus, Is there a reason you are using the XPToolbar rather than true menus (using the MainFrameBarManager)? -Praveen

MH Markus Herrmann May 13, 2003 07:41 PM UTC

Yes, the reason is, that my Application uses GUI-Modules (wich are actually Panels) that have their own toolbars. As far as I know I have to use the XPToolbar, because the BarManager can only be used with Forms, not with Panels, right? Markus

RP Ramesh Praveen Syncfusion Team May 14, 2003 12:53 PM UTC

Markus, If you have a version older than 1.5.2 you will probably see this problem. We have fixed this issue since then. Regards, Praveen Ramesh

Live Chat Icon For mobile
Up arrow icon