TextEdit.AllowFocusRing

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aTextEdit.AllowFocusRing = newBooleanValue
or
BooleanValue = aTextEdit.AllowFocusRing

New in 2019r2

Supported for all project types and targets.

If True, the control indicates that it has the focus with a ring around its border; if False, the appearance of the control does not change when it has the focus.

fa-info-circle-32.png
macOS does not support focus rings for TextArea controls, so setting AllowFocusRing to True has no effect in macOS builds. This is not a bug in the TextArea control.

Example

This example is in the Initialized event of the control:

Me.AllowFocusRing = False