TApxVT100Emulator.RelOriginMode

TApxVT100Emulator

property RelOriginMode : Boolean

Determines where the home position is to be found.

If this property is False, the cursor home position is at the top left corner of the display, even if a scrolling region has been defined. Rows and columns are counted from this origin (this can be viewed as absolute position mode). Rows and columns are always counted from 1. Cursor position commands can act outside the active scrolling region.

If this property is True, the cursor home position is at the top left corner of the scrolling region. Rows and columns are counted from this origin (this can be viewed as relative position mode—positions are relative to the scrolling region). Rows and columns are always counted from 1. Cursor position commands only act inside the active scrolling region.

The host computer determines this mode. You can change this property to write text outside of the scrolling region, but it is advisable to change it back immediately. Otherwise, it may result in bizarre displays since the host is assuming something that is no longer true.