Autor Beitrag
oOpadeisOo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21



BeitragVerfasst: Mi 28.10.09 20:07 
Hi @ all,

ich hab keine ahnung wie über das mainmenu speichern kann, also was ich da programmieren muss, damit es überhaupt speichert. Könnt ihr mir dabei vllt helfen??

danke schonmal
JungerIslaender
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 427
Erhaltene Danke: 5

Win XP
Delphi 7; Delphi 2005
BeitragVerfasst: Mi 28.10.09 20:16 
Ähh wie meinst du das?
Meinst du: wie kann ich ein MainMenu erstellen in dem dann die Schaltfläche speichern ist?

oder meinst du das obige plus was auch immer dein Programm kann, Fortschritte aus deinem Programm speichern?
oOpadeisOo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21



BeitragVerfasst: Mi 28.10.09 20:29 
das 2.
JungerIslaender
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 427
Erhaltene Danke: 5

Win XP
Delphi 7; Delphi 2005
BeitragVerfasst: Mi 28.10.09 20:43 
Dann musst du erstmal zeigen was dein Programm kan, denn man kann nicht einfach sein Programm speichern. Und ich denke du willst das wass du gespeichert hast ja auch irgendwann wieder laden.Es sei denn es ist text oder so etwas.
oOpadeisOo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21



BeitragVerfasst: Fr 30.10.09 20:41 
ich habe soviel bis jetzt...
und jetzt möchte ich wissen wie ich speichern kann, also nen editfeld oder so soll aufgehen wo ich den zielort angebe und das momentanige projekt dann abspeichere.( das beep im quellcode ist nur der platzhalter dafür)

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
  if Saved = false then
    begin
    Messageantwort := 1;
    Messageantwort := messagedlg('Ihre aktuelle Datei ist noch nicht gespeichert. Wollen sie sie jetzt speichern?',
      mtConfirmation,[mbYes, mbNo, mbCancel],0);

      if Messageantwort = mrYes then beep;
      if Messageantwort = mrNo then


habt ihr ne lösung?
thepaine91
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 763
Erhaltene Danke: 27

Win XP, Windows 7, (Linux)
D6, D2010, C#, PHP, Java(Android), HTML/Js
BeitragVerfasst: Fr 30.10.09 20:46 
Es gibt auf deiner Komponenten leiste oben den Reiter Dialogs dort existiert etwas namen Opendialog.
Aufs Formular ziehen dann F1 drücken oder Delphi Suche verwenden um zu sehen wie das ganze dann funktioniert.

mfg nic
SvenAbeln
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 334
Erhaltene Danke: 3



BeitragVerfasst: Fr 30.10.09 21:41 
user profile iconthepaine91 hat folgendes geschrieben Zum zitierten Posting springen:
Es gibt auf deiner Komponenten leiste oben den Reiter Dialogs dort existiert etwas namen Opendialog.
Und direkt daneben befindet sich der TSaveDialog, da du ja speichern möchtest. :wink:
So bekommst du den normalen Windows Dialog, in dem man auswählen kann in welcher Datei gespeichert werden soll.
thepaine91
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 763
Erhaltene Danke: 27

Win XP, Windows 7, (Linux)
D6, D2010, C#, PHP, Java(Android), HTML/Js
BeitragVerfasst: Fr 30.10.09 21:49 
:autsch: Warum schreib ich opendialog :?!?: oh man.....