| Search Locate Previous Next | Contents |
NewLeaf stores information for the text properties in the six-column nested matrix nlproplist. There is one row for each property (the first row is reserved for field descriptions). The first two columns contain the two-character abbreviation for the property and a brief description, respectively. Column 3 is the Set function, column 4 describes the expected property type, column 5 is the Query function, and column 6 is the default value.
To find out the current value of a property, use the query function followed by the property abbreviation. If several abbreviations are supplied, a nested vector with the same number of elements is returned. A simple example is to look at the text alignment:
nlQuery 'al' Left
When you run nlInit (implicit when you start any report) NewLeaf always begins by running the Set method (column 3) with each default value (column 6). If you prefer different default values, write an appropriate Customise function which changes them as you require making sure to respect the property types and run it every time you re-install or upgrade NewLeaf to modify this table.
Default Table Properties
NewLeaf stores information for the table properties in the six-column nested matrix nltproplist. There is one row for each property (the first row is reserved for field descriptions). The structure is identical to nlproplist, so you can modify it in exactly the same way.
To find out the current value of a property, run the query function nltQuery followed by the property abbreviation. If several abbreviations are supplied, a nested vector with the same number of elements is returned.