Autor Beitrag
stigge
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 426

WinXP
Delphi 2007
BeitragVerfasst: Do 11.01.07 14:01 
Also ich hätte da eine etwas merkwürdige Frage:

Wo finde ich ein Passwortfeld (ein Editfeld nur das es eben nur Sternchen anzeigt)?


Stigge
Miri
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 657


Delphi 3 Prof., Delphi 2005 PE
BeitragVerfasst: Do 11.01.07 14:12 
Nennt sich MaskEdit... vielleicht hilft dir das weiter.
Wo genau du das findest, kann ich dir nich sagen, hab kein Delphi hier.

_________________
Anonymes Eckenkind
freak4fun
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 604
Erhaltene Danke: 4

Win 7 Pro
VS 2013 Express, Delphi, C#, PHP, Java
BeitragVerfasst: Do 11.01.07 14:13 
Moin,
du nimmst ein normales TEdit und trägst bei PasswordChar das Zeichen ein, das statt der Buchstaben angezeigt werden soll. Zum Beispiel das *. ;)

MfG
freak

_________________
"Ich werde auf GAR KEINEN Fall…!" - "Keks?" - "Okay, ich tu's."
i++; // zaehler i um 1 erhoehen
Jakob Schöttl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 929
Erhaltene Danke: 1


Delphi 7 Professional
BeitragVerfasst: Do 11.01.07 14:15 
nein, TMaskEdit ist was anderes, es gibt eine Eigenschaft von TEdit, die heißt PasswordChar. Da musst du dann einfach ein * reinmachen (oder auch ein anderes Zeichen) im Objektinspektor, und dann werden für jeden Buchstaben ein * angezeigt.
Die Eigenschaft Text ist allerdings der wirkliche Text!

EDIT: zu spät...
Miri
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 657


Delphi 3 Prof., Delphi 2005 PE
BeitragVerfasst: Do 11.01.07 14:16 
Dann nehm ich alles zurück... hatte irgendwie im Hinterkopf, dass es damit ging... ;-)

_________________
Anonymes Eckenkind
stigge Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 426

WinXP
Delphi 2007
BeitragVerfasst: Do 11.01.07 14:36 
Danke für die schnelle Hilfe!