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)
RPRamesh Praveen Syncfusion Team May 12, 2003 11:43 AM
Is there a reason you are using the XPToolbar rather than true menus (using the MainFrameBarManager)?
MHMarkus HerrmannMay 13, 2003 03:41 PM
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?
RPRamesh Praveen Syncfusion Team May 14, 2003 08:53 AM
If you have a version older than 1.5.2 you will probably see this problem. We have fixed this issue since then.