XPMenus.Bar (StatusBar) & ProgressBar
How can i show a progress bar in the status bar (XPMenus.Bar with BarStyle.IsStatusBar) ?
How can i defined the width of the static bar items ?
Regards,
Mikaël
SIGN IN To post a reply.
4 Replies
AD
Administrator
Syncfusion Team
January 27, 2005 03:03 AM UTC
Hi Mikaël,
1. XPMenus.Bar in Statusbar mode can host only BarItems (and its derived objects) and cannot host any other Controls. If you wish to host custom controls in a status bar, then use a detached CommandBar with its DockState set to bottom as shown in the sample attached here. Note that this approach will not support merging in a MDI scenario.
2. I am afraid, a desired size acnnot be set to the StaticBarItems, and they only resize themselves according to the length of the text contained in them.
Please let me know if you need any other information. Thanks for your interest in Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.
MM
Mikaël Morvan
January 27, 2005 09:32 AM UTC
Thanks for your sample.
But when i add a control in the form and compile the project, i have a message : "Impossible de générer le code pour la propriété ''Controls''. L''erreur était : ''La référence d''objet n''est pas définie à une instance d''un objet.''".
In design mode, all work fine but at runtime the control doesn''t appear in the form.
Mikaël
AD
Administrator
Syncfusion Team
January 27, 2005 09:43 AM UTC
I see the same problem. When I add a button to the form, it is not added in to the Form.Controls collection in the designer serilized code.
Regards
Thomas
AD
Administrator
Syncfusion Team
January 28, 2005 03:00 PM UTC
Hi,
This is a known problem (QA #837) with detached CommandBars in the Designer that we''re in the process of working on.
As a workaround, you can declare your CommandBar programmatically and then call MainFrameBarManager.DetachedCommandBars.Add() yourself. The CommandBar won''t show up in the Designer, but it will show up during runtime.
I apologize for any inconvenience this might cause. We''ll fix this problem as soon as possible.
Regards,
Gregory Austin
Syncfusion, Inc.
SIGN IN To post a reply.
- 4 Replies
- 2 Participants
-
MM Mikaël Morvan
- Jan 25, 2005 01:06 PM UTC
- Jan 28, 2005 03:00 PM UTC