0

I am trying to use linepen, linebrush and stairs but I get a red wavy line under them in Delphi 2007. I guess i forgot to add a unit. Which unit should I include.

I am trying to duplicate the popupline code from the teeoffice demo. Thanks. P

LU RD
  • 34,438
  • 5
  • 88
  • 296

1 Answers1

1

The LinePen,LineBrush and Stairs are properties of TCustomSeries and descendants. They are defined in unit Series.

Just a comment on the red wavy lines (aka Error Insight). At times Error Insight is known to give false positives. It's better in more modern Delphi versions. Sometimes storing the project files, reopening the project or rebuilding the project makes those false positives vanish.

LU RD
  • 34,438
  • 5
  • 88
  • 296