ActiveElement property
Returns the Element object that has input focus. If no element has input focus, Nothing is returned. Read-only.
Syntax
Display
.ActiveElement
where
Display
– is the name of a Display object or an expression that evaluates to a Display object.Remarks
- To set the focus to a specific object, call the SetElementFocus method or SetFocus method of the specific object.
- To move the focus to the next or previous object in the tab order, call the SetElementFocusNext or SetElementFocusPrevious method.
- The objects that can have the input focus are NumericInput, StringInput, Recipe, Button, ActiveX controls, and any graphic objects that have object keys attached.
Provide Feedback