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 LDModbus
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

LDFocus
TextBoxFocus utility to control focus (textbox currently active for input).

GetFocus IsFocus ResetFocus
SetFocus

GetFocus()
Gets the shape that has current focus.
returns The shape name (usually a textbox) or "False".

IsFocus(shapeName)
Checks if the named shape has the focus.
shapeName The shape name (usually a textbox).
returns "True" or "False".

ResetFocus()
Remove focus from all shapes.

SetFocus(shapeName)
Sets the named shape to have focus.
shapeName The shape name (usually a textbox).
returns "True" or "False" depending on success or failure.