LitDev Extension API
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.