Window_SetLineMode()

Examples


The Window_SetLineMode() function changes the window type of the scrolling window.

Syntax

Window_SetLineMode(window window_name, mode)

Parameters

window window_name – The scrolling window whose type will be changed.

mode – An integer specifying the mode to use. The value corresponds to one of the following constants:

[spacer]

Constant

Mode

LINEMODE_BROWSE_ONLY

Browse-only scrolling window

LINEMODE_EDITABLE

Editable scrolling window

LINEMODE_ADDS_ALLOWED

Adds-allowed scrolling window


Return value

A boolean. True indicates the scrolling window mode was changed, while false indicates it was not.

Comments

To ensure the scrolling window is in a consistent state, use the fill window statement to refill the scrolling window after you change the window type.


Documentation Feedback