Writes text to an unprotected area of the host screen.
- Parameters
- TextStr
- String containing the
text to write.
- PositionVal
- The position in
the host screen to start writing.
- Returns
- 0 on Success, or a non-zero error code. Refer to Error codes for a complete listing of error code descriptions.
- Remarks
- The screen position starts at 1 in the upper-left corner of the
window (row 1, column 1), and ends at the bottom-right of the window
(max row times max column). For example, for a Model 2 - 24 x 80
screen, the last position is 1920.
- Example
Set bzhao = CreateObject("BZWhll.WhllObj")
bzhao.Connect
bzhao.PSSetText "UserId", bzhao.PSCursorPos