📅  最后修改于: 2022-03-11 14:51:57.101000             🧑  作者: Mango
' Textbox keeps its black forecolor (ie not grayed) when locked
With myTextbox
.Locked = False
.ForeColor = vbBlack
.Locked = True
End With