File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ TUIRibbonForm = class(TForm)
5353
5454 { The ribbon hosted on this form }
5555 property Ribbon: TUIRibbon read FRibbon;
56- end deprecated ' There is no longer a need to use TUIRibbonForm, you can place TUIRibbon on your form and it ha all properties in the designer.' ;
56+ end deprecated ' There is no longer a need to use TUIRibbonForm, you can place TUIRibbon on your form and it has all properties in the designer.' ;
5757
5858implementation
5959
@@ -65,7 +65,9 @@ implementation
6565procedure TUIRibbonForm.AfterConstruction ;
6666begin
6767 inherited ;
68- FRibbon.Load(RibbonResourceName, RibbonInstance);
68+ FRibbon.ResourceName := RibbonResourceName;
69+ FRibbon.ResourceInstance := RibbonInstance;
70+ FRibbon.Load();
6971 RibbonLoaded;
7072end ;
7173
You can’t perform that action at this time.
0 commit comments