I want to remove the caret from a TEdit control in Delphi. I have made the component Enabled := False but the caret still appears.
My question is how to remove the caret from a disabled TEdit control?
I want to remove the caret from a TEdit control in Delphi. I have
Share
I assume that you mean
TEditcontrol.The solution is
HideCaretfunction, the only problem is where to call it. The 2 event handlers below worked fine for me: