Compile error when using .poLandscape

Hi, I’m having trouble with a bit of simple code (below).  When I try to compile it in DelphiXE I get an Undeclared Identifier error with  “poLandscape” and “PoPortrait”.  I’m using the latest TMS release of the DBPlannerMonthView.  Have I missed something basic?

Thanks

Colin

 

  if PrintLandscapeBtn.Down then

   DBPlannerMonthView.PrintOptions.Orientation := poLandscape

  else

   DBPlannerMonthView.PrintOptions.Orientation := poPortrait;

BTW This all comiles happily...

  DBPlannerMonthView.YearStartAt.ISOWeekNumber := ISOWeekEdit.Checked;
  DBPlannerMonthView.PrintOptions.FooterSize   := FooterSizeEdit.Value;
  DBPlannerMonthView.PrintOptions.HeaderSize   := HeaderSizeEdit.Value;
  DBPlannerMonthView.PrintOptions.RightMargin  := RightMarginEdit.Value;
  DBPlannerMonthView.PrintOptions.LeftMargin   := LeftMarginEdit.Value;
  DBPlannerMonthView.MaxItemsDisplayed         := MaxItemsEdit.Value;