LitDev Extension API

GW LD3DView LDArray LDBits LDBlueTooth
LDCall LDChart LDClient LDClipboard LDColours
LDCommPort LDController LDControls LDCursors LDDataBase
LDDateTime LDDebug LDDialogs LDDictionary LDEffect
LDEmail LDEncryption LDEvents LDFastArray LDFastShapes
LDFigures LDFile LDFinances LDFocus LDftp
LDGeography LDGraph LDGraphicsWindow LDHashTable LDHID
LDIcon LDImage LDInline LDIOWarrior LDList
LDLogic LDMath LDMathX LDMatrix LDMusic
LDNetwork LDPhysics LDProcess LDQueue LDRegex
LDResources LDScrollBars LDSearch LDServer LDSettings
LDShapes LDShell LDSort LDSound LDSpeech
LDStatistics LDStopwatch LDText LDTextWindow LDTimer
LDTranslate LDUnits LDUtilities LDVector LDWaveForm
LDWebCam LDWindows LDxml LDZip TW

TW
Alias for TextWindow.

The TextWindow provides text-related input and output functionalities. For example using this class, it is possible to write or read some text or number to and from the text-based text window.


BackgroundColor Clear CursorLeft
CursorTop ForegroundColor Hide
Left Pause PauseIfVisible
PauseWithoutMessage Read ReadKey
ReadNumber Show Title
Top Write WriteLine

BackgroundColor
Gets or sets the background color of the text to be output in the text window.

Clear()
Clears the TextWindow.

CursorLeft
Gets or sets the cursor's column position on the text window.

CursorTop
Gets or sets the cursor's row position on the text window.

ForegroundColor
Gets or sets the foreground color of the text to be output in the text window.

Hide()
Hides the text window. Content is perserved when the window is shown again.

Left
Gets or sets the Left position of the Text Window.

Pause()
Waits for user input before returning.

PauseIfVisible()
Waits for user input only when the TextWindow is already open.

PauseWithoutMessage()
Waits for user input before returning.

Read()
Reads a line of text from the text window. This function will not return until the user hits ENTER.
returns The text that was read from the text window

ReadKey()
Reads a single character from the text window.
returns The character that was read from the text window.

ReadNumber()
Reads a number from the text window. This function will not return until the user hits ENTER.
returns The number that was read from the text window

Show()
Shows the Text window to enable interactions with it.

Title
Gets or sets the Title for the text window.

Top
Gets or sets the Top position of the Text Window.

Write(data)
Writes text or number to the text window. Unlike WriteLine, this will not append a new line character, which means, anything written to the text window after this call will be on the same line.
data The text or number to write to the text window

WriteLine(data)
Writes text or number to the text window. A new line character will be appended to the output, so that the next time something is written to the text window, it will go in a new line.
data The text or number to write to the text window.