KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Creating columns Programmatically in 4D Write
PRODUCT: 4D Write | VERSION: | PLATFORM: Mac & Win
Published On: January 22, 2004

Compatibility: Version 6.8.x and later

In 4D Write you can use multiple columns per page. To set the number of columns, select Columns from the Format menu and specify the column options in the dialog that is displayed. If you want to set similar options programmatically, you can use the command WR SET DOC PROPERTY.

WR SET DOC PROPERTY (Area;$Selector;$number)

The selector to use is the constant wr number of columns (24) and you just need to pass the number of columns in the last parameter.