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
- Separated creation and initialization of the ribbon framework. Constructor will now only perform non UI/handle related initialization of the framework
- Load() will now call HandleNeeded before passing the parent form's handle to FFramework.Initialize. That way, recreating the window handle of the form no longer causes issues
- ApplicationModes are now restored when recreating the window handle
// Restore potential old application mode settings. Certain situations (e.g. RecreateWnd) will recreate the ribbon with the default modes, so we need to reapply them here.
1060
+
if fApplicationModes <> [] then
1061
+
Set_ApplicationModes(fApplicationModes);
1062
+
1052
1063
lForm := GetParentForm(Self);
1053
1064
// Set the background color for the form if not yet defined. Use the same
1054
1065
// color as the ribbon bar, just a bit more brightened, if themes are enabled.
0 commit comments