Search Locate Previous Next Contents

nltSet – setting table properties

In NewLeaf you have two equivalent ways of setting any table property. You can call nltSet with a short (case-independent) code for the property, or you can run a property-setting function directly. In this case you must get the function name exactly correct! See the Properties Reference for details.

nltSet ('ce' 72 72)('gr' 1 1 0)
nltCellWidths 72 72 ª nltGridLines 1 1 0

The two lines above are exactly equivalent; note that at least two characters are required to identify the property. To query the current value, you should use nltQuery with a vector of property names.

The properties are all held in nlt‘proplist, so to see a quick display of the available names, just type this variable to the APL session.

Whichever method you use, you will find that whenever you set a property you will be returned the previous value. This can be used to reverse a setting easily.



Continue to: nltSpread – spread matrix into a table
© Copyright Causeway Graphical Systems Ltd 2001