TDBPlannerMonthView - first view always without items

This is fine with the following views. I did not find anything that would help: Update, Refresh, Table.Refresh...

  TfrmPlannerRole = class(TBMainForm)
    dbplDay: TDBPlanner;
    dbplWeek: TDBPlanner;
    dbpmwMonth: TDBPlannerMonthView;

procedure TfrmPlannerRole.offpgrPlannerChange(Sender: TObject);
begin
  DeActivateAllSource;

  case TPage(offpgrPlanner.ActivePageIndex) of
    TPage.Day: advcbxViews.OnChange(advcbxViews);
    TPage.Week:
    begin
      dbwksrWeek.Active := True;

      if dbwksrWeek.Month <> advcbxMonthWeek.ItemIndex + 1 then
        dbwksrWeek.Month := advcbxMonthWeek.ItemIndex + 1;

      if dbwksrWeek.Year <> advsedYearWeek.Value then
        dbwksrWeek.Year := advsedYearWeek.Value;

      dbplWeek.Update;
    end;
    TPage.Month:
    begin
      dbpmwMonth.Month := advcbxMonthViewMonth.ItemIndex + 1;
      dbpmwMonth.Update;
    end;
  end;
end;
  • I did not find any mention of PDF conversion

And your question? your problem? is exactly what?

Nevertheless, that these elements could be seen even at the first display :blush:
I see that it is not enough to define a problem in the topic name. I will arrange myself accordingly.

First view


Second view

I just switched Tab to TAdvOfficePager. That's why I entered the code here (above).

I have just given this pig solution - OnCreateForm. Of course I don't want him. I consider this problem to be a TDBPlannerMonthView error.
If I create a form with an active page with TDBPlannerMonthView, that's fine.

  if offpgrPlanner.ActivePageIndex < MonthView then
  begin
    Idx := offpgrPlanner.ActivePageIndex;
    offpgrPlanner.ActivePageIndex := MonthView;
    offpgrPlanner.OnChange(offpgrPlanner);
    offpgrPlanner.ActivePageIndex := Idx;
    offpgrPlanner.OnChange(offpgrPlanner);
  end;