Skip to content

Commit 6a7b320

Browse files
committed
delphi: Reactivate dashboard control when a new layout is set
`TdxDashboardControl.Clear` makes the control inactive, so that it does not show any content (TdxDashboardControl.Active == False).
1 parent ab8cfda commit 6a7b320

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Delphi/uMainForm.pas

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ procedure TMainForm.LoadLayoutAndState;
8282
dxDashboardControl1.Layout.Assign(DataModule1.mdLayoutsLayout);
8383
if not DataModule1.mdLayoutsState.IsNull then
8484
dxDashboardControl1.State.Assign(DataModule1.mdLayoutsState);
85+
86+
dxDashboardControl1.Active := True;
8587
end;
8688

8789
procedure TMainForm.btnDeleteClick(Sender: TObject);

0 commit comments

Comments
 (0)