next up previous contents
Next: Label Current Viewport Up: User Output Subprograms Previous: Erase Text Line

Set Cursor Position

This Subprogram sets the Cursor Position within the currently setup Viewport (see UI_USE_VIEWPORT or UI_DEFINE_VIEWPORT) in the currently setup Viewport Mode (see UI_VIEWPORT_MODE).

Short Name Calling Sequence

STATUS = UISTCU(XCOR,YCOR)

Long Name Calling Sequence

STATUS = UI_SET_CURSOR(...)

Input Arguments

XCOR (Real) Column (X) Position YCOR (Real) Row (Y) Position

Output Arguments

None

Function Value

UI__SUCCESS ) Success UISUCC )

UI__NOT_INITIALIZED ) Package not Initialized UININI )

UI__ILLEGAL_VIEWPORT ) Illegal Viewport ID UIILVP )

UI__ILLEGAL_COORDINATE ) Illegal Viewport UIILCO ) Coordinate

Note:

  1. The Coordinates should be specified in the appropriate units for the currently setup Viewport Mode (Text or Graphics).


Liz Buckle
Fri Jan 13 17:49:20 CST 1995