Retrieves a boolean value indicating whether this control can be selected.
public final boolean canSelect()
Returns true if the control can be selected; otherwise, returns false. For a control to be selected, the control must be contained in a form, and the control and all its parent controls must be both visible and enabled.
See Also select