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
- Added procedure "Remove" to TUIRibbon, so that we can remove and free TUICommands again (e.g. for dynamic galleries)
- Added BeginUpdate/EndUpdate mechanism to TRibbonCollectionAction, so that we can run multiple operations without fully refreshing the gallery each time
- Extended "Remove" method of TRibbonCollectionAction, so that "old" TUICommands are now cleaned up properly and won't remain in memory
/// Used for property "UseDarkMode". Values of this enum determine whether or not the ribbon should support Windows' "Dark Mode". The different values are:
88
-
/// TDarkMode.Always: Always enable the dark mode for the ribbon (if supported by the operating system, requires Window 10 1809 or higher)
88
+
/// TDarkMode.Always: Always enable the dark mode for the ribbon (if supported by the operating system)
89
89
/// TDarkMode.Auto: Use the same setting as Windows to determine wheter or not the ribbon should be displayed in dark mode, or not. If the user selected dark mode for Windows, the ribbon will use it as well.
90
90
/// TDarkMode.Never: Don't use the dark mode at all.
/// and dynamically creates commands that will be added to the collection.
183
184
/// </summary>
184
185
procedureRefreshCommandCollection();
186
+
/// <summary> Use this to mark larger modifications to the list of actions. No refresh of the internal list of commands will be performed until EndUpdate is called. </summary>
187
+
procedureBeginUpdate;
188
+
/// <summary> Marks the end of an ongoing modification to the list of actions. Ending the update will trigger a refresh of the internal list of commands. </summary>
189
+
procedureEndUpdate;
185
190
functionUpdate(): Boolean; override;
186
191
/// Returns the amount of actions that have been added.
0 commit comments