The Window_SetLineMode() function changes the window type of the scrolling window.
Window_SetLineMode(window window_name, mode)
• 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:
Constant |
Mode |
---|---|
LINEMODE_BROWSE_ONLY |
Browse-only scrolling window |
LINEMODE_EDITABLE |
Editable scrolling window |
LINEMODE_ADDS_ALLOWED |
Adds-allowed scrolling window |
A boolean. True indicates the scrolling window mode was changed, while false indicates it was not.
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.