Text edit borders

Why is a text edit control not responding to a got focus or lost focus event like

[code]Sub GotFocus()
Me.Border = Not Me.border

End Sub[/code]

Borders remain visible…

TextEdit is the base class for both TextArea and TextField. TextEdit is an abstract class and it is not intended for instantiation. Use TextArea for multiline and styled controls and TextField for single line text fields.

And then try

Textarea.border = false


Textarea.border = 0