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

Toolbar takes focus

Thread ID:

Created:

Updated:

Platform:

Replies:

4404 May 10,2003 09:36 AM May 14,2003 08:53 AM Windows Forms 3
loading
Tags: Tools
Markus Herrmann
Asked On May 10, 2003 09:36 AM

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 11:43 AM

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 03:41 PM

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 08:53 AM

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

CONFIRMATION

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.

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.

;