You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGE: Renamed "TUICommandUpdateImageEvent" to "TUICommandUpdatePropertyEvent" and "TUICommand.OnUpdateImage" to "TUICommand.OnUpdateProperty". If assigned, "TUICommand.OnUpdateProperty" is now called in TUICommand.DoUpdate for any "TUIProperty"-parameter (not only images).
Fixed issue #54: Add, Delete, Up and Down commands are enabled when no file is loaded.
the code to detect the Delphi command line compiler now supports XE3 to 10.3.
Fixed issue #65: Changing Scaling Policy size is not applied to the View Tree
Fixed #64: Instead of defining own TUIPropertyKey use TPropertyKey from unit "WinApi.ActiveX".
Ribbon elements with the exception of button are no longer shown disabled if no OnExecute event handler is assigned to their action.
Removed call to "RefreshCommandCollection" during PropertyUpdated. Doing this here could cause a loop.
Added another overload of TUICommand.Create, which can be used to create TUICommands at runtime more conveniently. As parameter, one can pass a TCustomAction. The action's image will be applied to the UICommand automatically.
Fixed occasional AV that may occur during a call to RecreateWND. The AV would occur in UIRibbon.dll, after a call to FFramework.Destroy(). Setting the ref-counted member FFramework to nil in DestroyWND and re-instantiating it in CreateWnd solves the problem.
Improved error handling in TUIRibbon.Load() for issue #62.
Improved per-Monitor DPI awareness.
Adjusted creation of TUIImage (from imagelist): Draw an empty background on the bitmap first, so that the transparency of the source image is preserved.
Fixed AV that occurs when trying to run sample "03 DropDown Color Picker"
Several improvemtns for TRibbonCollectionAction:
BREAKING CHANGE: TRibbonCollectionAction no longer stores a pair of TCustomAction and category string, but the Category property of the connected action is used.
Added another overload of TRibbonCollectionAction.Add() that allows to add simple "text only" items at runtime, that can be used in a combobox.
Added possibility to Remove existing actions from a TRibbonCollectionAction at runtime.
When adding new actions to a TRibbonCollectionAction, we skip invisible ones.
Implemented update-mechansim that removes actions from a TRibbonCollectionAction, as soon as they become invisible.
Added TRibbonCollectionAction.GetEnumerator, so that we can iterate it with for-each loops.