WR O Get pack options

4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next

version 6.0


WR O Get pack options (selector ) Longint

ParameterTypeDescription
selector IntegerOptions for templates, menus, or rulers
1=Template saving location
2=Template loading location
3=Menus
4=Rulers
5=Frame
6=Page View
7=reformat Message Suppression
Function resultLongintState of an option

Note 6.5: This command was only maintained for compatibility purposes. We recommend using the WR GET AREA PROPERTY command for options 1 and 2, otherwise the WR Get doc property command.

Description

The command WR O Get pack options returns the state of an option set using WR O SET PACK OPTIONS.

If selector equals 1, WR O Get pack options returns the location to which your templates are saved. If the value returned equals 1, the templates are saved on the server. If the value returned equals 0, the templates are saved on the client.

If selector equals 2, WR O Get pack options returns the location from which your templates are loaded. If the value returned equals 1, the templates are loaded from the server. If the value returned equals 0, the templates are loaded from the client.

If selector equals 3, WR O Get pack options returns whether menus are displayed or hidden. If the value returned equals 1, menus are displayed. If the value returned equals 0, menus are hidden.

If selector equals 4, WR O Get pack options returns whether rulers are displayed or hidden. If the value returned equals 1, rulers are displayed. If the value returned equals 0, rulers are hidden.

If selector equals 5, you can specify whether the frame around the 4D Write area should be displayed or hidden. If the value returned equals 1, the frame is displayed. If the value returned equals 0, the frame is hidden. By default, the frame is displayed.

If selector equals 6, you can specify whether the 4D Write area should be displayed using the Page View mode. If the value returned equals 1, the Page View mode is used. If the value returned equals 0, the No Page View mode is used. By default, the Page View mode is used.

If selector equals 7, you can specify whether 4D Write will display a warning message before reformatting a document when the page setup has changed. If the value returned equals 1, the warning is displayed. If the value returned equals 0, no warning is displayed. By default, the warning is displayed.

See Also

WR GET AREA PROPERTY, WR Get doc property.


4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next