canHaveFocus

Type: Boolean

Availability: Read or write at any time (JadeMask) or at run time only (BaseControl)

The canHaveFocus property of the BaseControl class or JadeMask class specifies whether the base control or JADE mask control can have focus.

If focus is denied, the control still responds to mouse clicks and mouse-over situations.

The default value of true indicates that the control can accept focus. If the control should not have focus, set the property value to false (for example, you would usually do so in the windowCreated method of the BaseControl subclass).