Home Component Writing
New Blog Posts: Merging Reports - Part 1 and Part 2

Example Component with custom properties

edited January 2013 in Component Writing
Do you have an example component that saves custom properties (like a
Table Name and FIeld Name.

I am trying to create a component with a popup dialog that has several
fields the user will fill out. (TableName, FieldName, etc). Then a
numeric value would be printed. I started with a label component, but
can change that. I also cannot get the new properties to save so when I
close the report editor and go back in, they are gone. I thought maybe
an example would help.

THanks

Comments

  • edited January 2013
    Hi Jeff,

    Take a look at the RCL demo located in the \Demos\RCL\... directory.
    Inside the myChkBox.pas file notice that all properties saved to the
    form definition or template are published and the class is registered
    and unregistered in the Initialization/Finalization section of the file.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.