LitDev Extension API
LDFocus
TextBoxFocus utility to control focus (textbox currently active for input).
GetFocus | IsFocus | 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".
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.