Custom Component Visibility+Printable

C++ Builder: XE6

I made a Custom Component, following this example https://www.fast-report.com/documentation/D...nts_writing.htm

Whenever I place my new component onto the form, all of the "Visibility" options are cleared, as well as "Printable," and I have no idea why. Any advice on how to make sure these stay enabled by default? I tried doing it in the constructor but it seems to be overridden at some point.

Comments

  • edited 4:29PM
    Found it: you have to add the properties to the child classes, or else it all defaults to 0.

Leave a Comment