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 5:52PM
    Found it: you have to add the properties to the child classes, or else it all defaults to 0.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.