RV
Ries Vriend
July 15, 2003 05:12 PM UTC
I would like put my vote on such functionality as well for a next version of XPMenu's.
As this is not available currently anywhere in Winforms or Syncfusion, we are building a limited framework ourselves that allows us to create an data driven resource file (a la motlib from an older MSDN magazine article), that allows us to specify
- UI commands (with caption, icon, help text)
- UI elements (barItems, with hierarchy to specify menus and toolbars, as well as the context in which each item should appear).
- a utility class used to map UI elements to pre-existing bar managers and bars and context menu’s. By refreshing the manager class every time a the UI context changes (ie, a docking window or mdi child is activated), the appropriate barItems are merged/removed from the main window's menu/tool-bars.
Why do this:
- Separation of commands and UI-elements (btw Motlib implements this very poorly)
- More flexible ways of context dependent menu items and toolbar buttons (not only a single-level mdi child context such as currently in XPMenus, but also by current tab-page/user control/etc). Sharing commands between context menu's in user controls and barItems in the main form is also missing from XPMenu's currently.
- Data driven. Hundreds of barItems in code and spread over multiple forms/controls/context menus is not a good idea.
- MFC-like idle time updating (optionally..). This can then also be used to selectively enable menu items dependent on current context.
RP
Ramesh Praveen
Syncfusion Team
July 16, 2003 06:57 PM UTC
Guys,
I will get back to you soon regarding your questions and issues.
Regards,
Praveen
RP
Ramesh Praveen
Syncfusion Team
July 17, 2003 06:30 PM UTC
Peter, Ries,
I figure that in essence what you are looking for is the ability to associate Bars and BarItems with a UserControl (or any other Control) and merge those with that of the Form's Bars and menus during runtime. "Merging" would also mean that these merged bar items would be "active" only when the corresponding child-control is active.
Basically, our ChildFrameBarManager support for mdi child forms extended to UserControls.
This has been on top of our feature request list and we will begin work on this very soon.
You can track QA incident 197 for updates on this feature request.
Regards,
Praveen Ramesh
PE
Peter
July 18, 2003 04:36 AM UTC
Sounds nice. Is there a timetable when this feature is integrated?
Peter
RP
Ramesh Praveen
Syncfusion Team
July 18, 2003 02:57 PM UTC
I would say in the next 2 months.
-Praveen
PE
Peter
March 23, 2004 10:50 AM UTC
I wonder if this feature is added one of the current versions. Can you please give me an update on this issue?
Peter
AD
Administrator
Syncfusion Team
March 23, 2004 08:18 PM UTC
Hi Peter,
I am afraid, the above mentioned feature has not been implemented yet. However, we have considered it as a high priority issue and will try our best to implement this feature at the earliest. I will notify you when we accomplish the same. We appreciate your patience and cooperation.
Regards,
Guru Patwal
Syncfusion, Inc.
DE
Derrick
March 3, 2008 02:47 PM UTC
It's now 2008, has this been implemented as this is exactly what I'm trying to accomplish right now with version 6.102 and I'm not finding the right method calls. Thanks