WR O SET 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 SET PACK OPTIONS (selector; value)

ParameterTypeDescription
selectorIntegerOptions 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
valueLongintFor templates: 1=Server, 0=Client
For menus and rulers: 1=displayed, 0=hidden

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

Description

The command WR O SET PACK OPTIONS is used to set options for templates, menus, or rulers. All options set by WR O SET PACK OPTIONS are temporary. To ensure that the options are always in effect, set the options in the Startup method.

If selector equals 1, you can specify where your templates will be saved. If value equals 1, the templates will be saved on the server. If value equals 0, the templates will be saved on the client. By default, templates are saved on the server (value equals 1).

If selector equals 2, you can specify the location from which your templates will be loaded. If value equals 1, the templates will be loaded from the server. If value equals 0, the templates will be loaded from the client. By default, templates are loaded from the server (value equals 1).

If selector equals 3, you can specify whether the menus should be displayed or hidden. If value equals 1, the menus are displayed.

If value equals 0, the menus are hidden. By default, menus are displayed (value equals 1).

If selector equals 4, you can specify whether the rulers should be displayed or hidden. If value equals 1, the rulers are displayed. If value equals 0, the rulers are hidden. By default, the rulers are displayed (value equals 1).

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

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

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

WR O SET PACK OPTIONS is especially useful for hiding menus or rulers in an external window. By using the command before creating an external window with the Open external window function, you can hide the menus or rulers before the window is displayed. If you use the WR O DISPLAY RULER or WR O DISPLAY MENUBAR commands instead, 4th Dimension hides the menus or rulers after the window is displayed, causing an awkward redrawing of the window.

See Also

WR SET AREA PROPERTY, WR SET 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