Hello :slightly_smiling_face:
I'm starting a new app with beautiful components, and I would like to use TTMSFNCEdit. I have a problem when I want to select the text when the TMSFNCEdit get the focus.

My code is the following :

procedure TForm1.TMSFNCEdit1Enter(Sender: TObject);

But the text is not selected after the components gets the focus.
What did I make wrong ?
Than you for your help

Which framework are you using? VCL or FMX?

I'm using the VCL framework

And Delphi 11 update 3

You might want to start a timer instead with a small interval, because when clicking on the edit, the caret is set to the click position which cancels the selectall.

Thank you for your answer ! Your hint is valid :slight_smile:

1 Like