LitDev Extension API
LDFocus
![](images/IntellisenseObject.png)
TextBoxFocus utility to control focus (textbox currently active for input).
GetFocus
![]() |
IsFocus
![]() |
SetFocus
![]() |
GetFocus()
![](images/IntellisenseMethod.png)
Gets the shape that has current focus.
returns The shape name (usually a textbox) or "False".
IsFocus(shapeName)
![](images/IntellisenseMethod.png)
Checks if the named shape has the focus.
shapeName The shape name (usually a textbox).
returns "True" or "False".
SetFocus(shapeName)
![](images/IntellisenseMethod.png)
Sets the named shape to have focus.
shapeName The shape name (usually a textbox).
returns "True" or "False" depending on success or failure.