showFocusBorder

Displays a border around the active control.

# Metadata

Platforms: desktop, server, mobile OS: mac, linux, ios, android Introduced: 1.1 Security:

# Syntax

set the showFocusBorder of control to {true | false}

# Examples

set the showFocusBorder of field "Answer" to false

set the showFocusBorder of myControl to (the platform is not "MacOS")

# Description

Use the showFocusBorder property to turn off the standard (for Unix) focus border around the active control, or to show which field has the insertion point in a dialog box.

The appearance of the focus border is set by the focusColor and focusPattern properties.

If the lookAndFeel property is set to "Macintosh" or "Appearance Manager", the setting of the showFocusBorder property affects only fields, images, and EPS. (To comply with user interface guidelines, this property should be set to true for fields in modal and modeless dialog box.)

If the lookAndFeel is set to "Motif", the showFocusBorder property affects all controls.

If the lookAndFeel is set to "Windows 95", the showFocusBorder property has no effect.

The focusBorder of cards and stacks has no effect.

# Tags

ui,

# See

- **keyword:** field - **property:** focusPattern, properties - **command:** modeless, focus, modal - **function:** stacks - **glossary:** object, property, EPS, insertion point, dialog box, Unix, active control, control - **object:** card, image, field