Delphi password edit control
I found a good solution to getting decent password edit controls
in Delphi applications, but it took a while to get a complete unit together, so thought I'd save you the time by putting the full unti source code here. One thing to note, don't set the PasswordChar property, as this will override the proper Windows style password character.
StdCtrls, Controls, Windows;
TPasswordEdit = class(TEdit)
procedure CreateParams(var Params: TCreateParams); override;
procedure TPasswordEdit.CreateParams(var Params: TCreateParams);
Params.Style := Params.Style or ES_PASSWORD;