showFocusBorder

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the showFocusBorder of <control> to {true | false}
Associationsstack, card, field, button, graphic, scrollbar, player, image
Summary

Displays a border around the active control.

Introduced1.1
OSmac, linux, ios, android
Platformsdesktop, server, mobile
Example
set the showFocusBorder of field "Answer" to false
set the showFocusBorder of myControl to (the platform is not "MacOS")
Values
NameTypeDescription
Value

The showFocusBorder of an object is true or false. By default, the showFocusBorder property of newly created objects is set to true.

RelatedKeyword: 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
Description

Use the showFocusBorder property to turn off the standard (for Unix systems) 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 EPSobjects. (To comply with user interface guidelines, this property should be set to true for fields in modal and modeless dialog box|dialog boxes.)

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.

Tagsui