Autor Beitrag
elduchte
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 199

Win 2000, Win XP
Delphi 7
BeitragVerfasst: Do 24.04.03 20:33 
Hallo,
wie kann ich ein Datum, welches ich mittels dem DateTimePicker auswähle, nach verlassen des DateTimePicker an DBEdit im gleichen Format (TT.MM.JJJJ) übergeben ???

Vielen Dank für Eure Hilfe
Andreas
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Fr 25.04.03 06:50 
Hi
zum Beispiel im OnExit Event des DateTimePickers:
ausblenden Quelltext
1:
 DBEdit1.Text := FormatDateTime('dd/mm/yyyy', DateTimePicker.Date);					


Gruss Lothar

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...
elduchte Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 199

Win 2000, Win XP
Delphi 7
BeitragVerfasst: Fr 25.04.03 14:41 
Hallo,
vielen Dank für die Hilfe, nur wenn ich jetzt eine weiteres DBEdit-Komponente anklicke zum ausfüllen, verschwindet das Datum aus der anderen DBEdit-Komponente.......

Ich versteh gar nix mehr....

Gruß
Andreas