Autor Beitrag
Becks16
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 405



BeitragVerfasst: Do 16.09.04 13:27 
hallo

Ich hab ein Problem, ich möchte den button NEU klicken, und dann sollen alle meine Editfelder geleert werden, und nun habe ich ein DateTimePicker und möchte das in dem feld nach dem ich NEU geklickt habe, das da das aktuelle Datum drin steht

ausblenden Delphi-Quelltext
1:
2:
1.DateTimePicker1.Date := Date;
2.DateTimePicker1.Date := Date();


Das sind meine beiden sachen die ich getestet habe
Was ist daran falsch ??

Danke im vorraus
neojones
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1206
Erhaltene Danke: 1



BeitragVerfasst: Do 16.09.04 13:32 
Welche Fehlermeldung bringt er denn?

_________________
Ha! Es compiliert! Wir können ausliefern!
Becks16 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 405



BeitragVerfasst: Do 16.09.04 13:35 
[Fehler] Unit1.pas(147): Operator oder Semikolon fehlt
neojones
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1206
Erhaltene Danke: 1



BeitragVerfasst: Do 16.09.04 13:38 
Dann hast wohl irgendwo den Operator oder das Semikolon vergessen.
Kompletter Code-Abschnitt?

_________________
Ha! Es compiliert! Wir können ausliefern!
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Do 16.09.04 13:40 
Dein Fehler ist nicht an dieser Stelle. Beide Schreibweisen sind korrekt. Du hast irgendwo ein Semikolon vergessen (vermute ich zumindest).
Becks16 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 405



BeitragVerfasst: Do 16.09.04 13:41 
Jaaa du hast recht ich hab den fehler gefunden danke schön .
neojones
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1206
Erhaltene Danke: 1



BeitragVerfasst: Do 16.09.04 13:44 
Erst selbst suchen, dann posten ;-)
Dann haben Leute mit echten Problemen auch ne Chance *g*

_________________
Ha! Es compiliert! Wir können ausliefern!
Becks16 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 405



BeitragVerfasst: Do 16.09.04 13:45 
Ja da geb ich dir voll und ganz recht, wir haben hier mit 3 man geguckt und es hat den fehler keiner gefunden...