Example Component with custom properties
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
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
This discussion has been closed.
Comments
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.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com