Next: Begin Batch Update
Up: User Output Subprograms
Previous: Specify Text Style
This Subprogram may be used to specify whether text that extends past the
Right Hand Edge of a Viewport should be truncated or wrapped to the next
line.
Short Name Calling Sequence
STATUS = UIWRVP(WRAPMO,VPRTID)
Long Name Calling Sequence
STATUS = UI_WRAP_VIEWPORT(...)
Input Arguments
WRAPMO (Logical) Wrap Mode
.TRUE. Wrap
.FALSE. Truncate
VPRTID (Integer) Viewport ID (Optional)
Output Arguments
None
Function Value
UI__SUCCESS ) Success
UISUCC )
UI__NOT_INITIALIZED ) Package not Initialized
UININI )
UI__ILLEGAL_VIEWPORT ) Illegal Viewport ID
UIILVP )
Note:
- This Subprogram only affects subsequent requests to display text within the
specified Text Viewport.
- The WRAPMO Argument determines whether text will be truncated or wrapped.
If WRAPMO is .TRUE. then text will be wrapped to the next line if it extends
past the right hand edge of the Viewport. If WRAPMO is .FALSE. then text will
be truncated.
- Truncation is the initial default.
- The VPRTID Argument is optional and, if omitted, defaults to the currently
setup Viewport.
Liz Buckle
Fri Jan 13 17:49:20 CST 1995