ARG-Software Command Bars Library ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ What's new in the latest version ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [!] Important [+] New [-] Fixed error [*] Changes [NNNNN] Issue Id --------------------------------------------------------------------------- Version 10.2.001 - 2021-12-19 --------------------------------------------------------------------------- General ~~~~~~~ [!][*] Some anti-viruses may block access to the library files, because they detect them (False Positive) as viruses or so. Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 10.2.000 - 2021-11-11 --------------------------------------------------------------------------- General ~~~~~~~ [!][+][*] Added support for VFP Advanced 64-bit. For more information visit: http://www.baiyujia.com/vfpadvanced/ Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 10.1.017 - 2021-10-01 --------------------------------------------------------------------------- CommandBarsManager class ~~~~~~~~~~~~~~~~~~~~~~~~ [+] SetFontSize method. Sets the font size for text displayed on command bars, menus. Available at run time only. Syntax: SetFontSize( tnFontSize) Parameters: tnFontSize - Specifies the size of the font in points. Value from 8 to 32, or 0 to reset it to default. Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 10.1.016 - 2021-10-01 --------------------------------------------------------------------------- CommandBar's controls ~~~~~~~~~~~~~~~~~~~~~ [+] ForeColor property. Sets the foreground color used to display text of a control. Internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 10.1.000 - 2019-04-04 --------------------------------------------------------------------------- General ~~~~~~~ [!][+] Added support for VFP Advanced (32-bit only). For more information visit: http://www.baiyujia.com/vfpadvanced/ Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 10.0.000 - 2018-03-25 --------------------------------------------------------------------------- CommandBarsManager class ~~~~~~~~~~~~~~~~~~~~~~~~ [+] SubsequentClickCount property. Specifies whether subsequent clicks are allowed (and how many) while VFP is executing click code of other control (for example, modal form is displayed). Default is 0; subsequent clicks not allowed. Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 10.0.RC2 - 2017-12-07 (PREVIEW BUILD) --------------------------------------------------------------------------- General ~~~~~~~ [!][-] VFP crashes when you maximize child MDI form. Applies only to Windows 8/10 Ribbon theme. Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 10.0.RC1 - 2017-11-30 (PREVIEW BUILD) --------------------------------------------------------------------------- General ~~~~~~~ [!][+] Windows 8/10 Ribbon theme. [!][*] Color schemes changed. Added new Windows 8/10 color scheme. [!][*] ARGRibbonResource.dll file updated. [!][+] DpiAware class. Useful for High-DPI. Drop it onto your form and call ScaleControls() to rescale form size and all controls according the current DPI settings. For example (in the Init() of your form): ThisForm.DpiAware.ScaleControls() [!][+] DpiAwareForm class. Useful for High-DPI. Create your forms based on this class to automatically rescale form size and all controls according the current DPI settings. Note: If you override Load() and/or Init() events, do not forget to call DoDefault(). ... and more ... CommandBarsManager class ~~~~~~~~~~~~~~~~~~~~~~~~ [!][*] ColorScheme property. Returns the current color scheme. Values: 0 - Office 2007 Blue (default); 1 - Office 2007 Black; 2 - Office 2007 Aqua; 3 - Office 2007 Silver; 4 - Office 2010 Blue; 5 - Office 2010 Silver; 6 - Office 2010 Black; 7 - Windows 7 Scenic; 8 - Windows 8/10; [!][*] SetColorScheme method. Sets the current visual theme and built-in color scheme. Syntax: SetColorScheme( tnVisualTheme, tnColorScheme) Parameters: tnVisualTheme - specifies the base visual theme: 6 - Office 2007; 7 - Ribbon. tnColorScheme - specifies the color scheme: 0 - Office 2007 Blue (default); 1 - Office 2007 Black; 2 - Office 2007 Aqua; 3 - Office 2007 Silver; 4 - Office 2010 Blue; 5 - Office 2010 Silver; 6 - Office 2010 Black; 7 - Windows 7 Scenic; 8 - Windows 8/10; Ribbon class ~~~~~~~~~~~~ [!][*] Corrected CustomUI support. [!][+] CustomUI. Support for "//customUI/ribbon/contextualTabs" element containing a collection of contextual tab sets "tabSet" elements. Each "//customUI/ribbon/contextualTabs/tabSet" element contains definition of contextual tabs, "tab" elements. [!][+] CustomUI. Support for "//customUI/contextMenus" element containing definitions of context menus. [!][+] ContextMenus object. Contains a collection of context menus loaded from customUI XML file or created at design/run-time. For example, to display a context menu in your code you can use: ThisForm.CBM.ShowPopupMenu( ThisForm.Ribbon.ContextMenus.someContextMenu1) [!][-] RemovaAllTabs() method causes error in the RibbonTab.ReindexControls() method. ... and more ... Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 9.1.000 - 2017-02-15 --------------------------------------------------------------------------- Intermediate internal release --------------------------------------------------------------------------- Version 9.0.000 - 2016-10-20 --------------------------------------------------------------------------- Intermediate internal release --------------------------------------------------------------------------- Version 8.3.002 - 2016-03-19 --------------------------------------------------------------------------- General ~~~~~~~ [*] Library crashes when InkEdit ActiveX control is used on a form and that form gets released. Actually, it is not the library bug, but InkEdit control internal bug. So, this library update is a workaround for that InkEdit control bug. Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 8.3.001 - 2016-02-03 --------------------------------------------------------------------------- General ~~~~~~~ [-] Library crashes with "unhandled exception in KernelBase.dll" on Windows 10 (build 10586 or higher) when user changes system theme, colors and so on. Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 8.3.000 - 2015-03-07 --------------------------------------------------------------------------- General ~~~~~~~ [!][*] Some PNG images are not displayed. [*] Re-worked internal functions that processes PNG images. Now the library uses GdiPlus features, instead of libpng. Ribbon class ~~~~~~~~~~~~ [*] Control buttons (minimize, restore, close) of maximized child MDI form are not displayed even if HideMdiButtons is set to False. RibbonTab class ~~~~~~~~~~~~~~~ [-] When Index property changes at run-time, the tab position also changes (that is correct); but object's position in the Ribbon.Tabs collection doesn't change. Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 8.2.003 - 2011-09-16 --------------------------------------------------------------------------- DialogBar class ~~~~~~~~~~~~~~~ [!][-] Version 8.2.002 generates "API call caused an exception" error. DialogBar doesn't display its child form. Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 8.2.002 - 2011-09-14 --------------------------------------------------------------------------- General ~~~~~~~ CommandBar class ~~~~~~~~~~~~~~~~ [+] DelayRedraw method. Call this method to redraw command bar. May be useful to force commandbar redrawing after you made changes to its controls. For example: ThisForm.Ribbon.LockRedraw = .T. ... change the commandbar/ribbon controls' properties here: change picture and so on... ThisForm.Ribbon.DelayRedraw() ThisForm.Ribbon.LockRedraw = .F. [-] Tooltips of some controls displayed too wide, trailing spaces not trimmed. Ribbon.QuickAccessToolbar object ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [-] Controls do not refresh according evaluated value of the SkipFor and MarkFor properties. [+] RemoveAddedControls method. Removes all controls (added by the user at run-time) from the QuickAccessToolbar. [+] RemoveAllControls method. Removes all controls from the QuickAccessToolbar. Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 8.2.001 - 2011-06-10 --------------------------------------------------------------------------- General ~~~~~~~ [-] GPF (General Protection Fault) error may happen when application quits, if application uses several forms (or opens/closes one form several times) with Office frame (CBM.EnableOfficeFrame=.T.). [*] Corrected and enhanced Ribbon themes for Windows Vista/7 Aero. Other internal fixes, corrections and improvements. --------------------------------------------------------------------------- Version 8.2.000 - 2011-04-20 --------------------------------------------------------------------------- General ~~~~~~~ [!][*] If you use Command Bars library with controls from the Common Controls library, make sure you use the latest release (6.1 or later) of the Common Controls Library. [*] The main VFP screen doesn't resize correctly, frame may disappear in case of command bars are attached to the Screen and the main VFP menu is hidden (AttachToScreen = .T., or CommandBarsManager added directly to the Screen and HideSysMenu = .T.). [!][-] Fixed some potential problems that may cause "API call caused an exception" error. CommandBarsManager class ~~~~~~~~~~~~~~~~~~~~~~~~ [+] DoEvents method. Executes all pending Windows events. Useful when _VFP.AutoYield is set to False. DoEvents method doesn't impact performance and works a lot faster than standard 'DOEVENTS FORCE' command. [+] SuspendIdleUpdate property. When set to True, the library doesn't refresh command bars (SkipFor and MarkFor properties are not evaluated) on the form in the idle state. Default is False. [+] UseKeyboardCues property. Gets or sets a value indicating how keyboard cues (hot key underlines/access keys) are used. For example: control has the Caption property set to "\ [*] CustomUI. Specify both (not empty) "supertip" and "description" attributes to create button with ButtonStyle=5 (Image, Caption and Description). Note: "description" attribute has a higher priority, so its value will be used for the Description property of a control. Example: