iNTERFACEWARE Products Manual > Installing and Using Chameleon > Language API Documentation > Borland Delphi Support > Generating a Message |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
It's easy to create a message and populate it with data in Chameleon. First, you must create an instance of the message object. The constructor for each custom message object requires an instance of an Engine object. The Engine object must have been pre-loaded with the same message definition file used to create the message object.
The tables in the message are then populated by using AddRow() to add rows and the set<field name>(...) methods to assign values to the table columns. We'll give a simple code example for creating the following message:
The Table Grammar of the message is shown below:
|