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
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.

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.


This example is in the Initialized event of the control:

Me.AllowFocusRing = False