Hi,
The MSOffice Ribbon has a special submenu UI. Any change you are implenting this in _argcommandbarsbase.vcx in the near future?
Koen
Submenu on Ribbon
Submenu on Ribbon
- Attachments
-
- SCREENDUMP(4).png (89.87 KiB) Viewed 5267 times
Re: Submenu on Ribbon
Set the ContextColor and ContextCaption properties of the RibbonTab.
For example:
Use one of the following constants for the ContextColor value:
#define _RibbonTab_ContextColor_None 0
#define _RibbonTab_ContextColor_Blue 1
#define _RibbonTab_ContextColor_Yellow 2
#define _RibbonTab_ContextColor_Green 3
#define _RibbonTab_ContextColor_Red 4
#define _RibbonTab_ContextColor_Purple 5
#define _RibbonTab_ContextColor_Cyan 6
#define _RibbonTab_ContextColor_Orange 7
For example:
Code: Select all
ThisForm.Ribbon.TabEdit.ContextColor = 2
ThisForm.Ribbon.TabEdit.ContextCaption = "TX Editor"
#define _RibbonTab_ContextColor_None 0
#define _RibbonTab_ContextColor_Blue 1
#define _RibbonTab_ContextColor_Yellow 2
#define _RibbonTab_ContextColor_Green 3
#define _RibbonTab_ContextColor_Red 4
#define _RibbonTab_ContextColor_Purple 5
#define _RibbonTab_ContextColor_Cyan 6
#define _RibbonTab_ContextColor_Orange 7
With best regards,
Alex Grigorjev
(ARG-Software Design Lab.)
Alex Grigorjev
(ARG-Software Design Lab.)