Hiding part of a TEdit



Hi,

I'm looking for a way to hide a part of a field, like password field.

I have a client ID (which is sensitive information) and I need to
display only a part of the ID, the last 3 digits. The remaining part
must be hidden and can't be modified.

Example :

___-123 (Partial client ID : Users with enough privilege can input the
whole ID. Other users can only modify the last 3 digits.)

****-123 (Full client ID but only the last part is displayed because
the current user doesn't have enough privilege to see the entire ID)

4567-123 (Full client ID is shown, the current user has the privilege
to see the full ID)

Any suggestions?

.