How to format TEdit with car plate (Delphi)


I would like to know how to only allow one Format in TEdit (XXX-0000) …

I searched all day on the Internet and only found very old tutorials for Delphi where EditMask existed, but now (at least in Delphi Tokyo) there is no more EditMask.

I tried to write code to format the TEdit, but it did not work.

Can anybody help me?

I’m developing for Android (using Delphi Tokyo).

Comments are closed.