SetFocus Method (FlexObject)

Class

FlexObject.

Action

Sets the focus to this component. The component may in turn pass focus to a subcomponent.

Note: Only the TextInput and TextArea controls show a highlight when this method sets the focus. All controls show a highlight when the user tabs to the control.

Syntax

C#
object.SetFocus()
VB
object.SetFocus()