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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Toolbar takes focus

Thread ID:





4404 May 10,2003 01:36 PM UTC May 14,2003 12:53 PM UTC WinForms 3
Tags: Tools
Markus Herrmann
Asked On May 10, 2003 01:36 PM UTC

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

Ramesh Praveen [Syncfusion]
Replied On 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

Markus Herrmann
Replied On 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

Ramesh Praveen [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon