Autor Beitrag
LDMatrix17
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Fr 28.04.06 15:43 
hey leute..
ich weiß nicht was das für ein Fehler ist
also meine Code ist:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
if saveDialog1.Execute then 
begin 
   Memo1.Lines.SaveToFile(SaveDialog.........
....



ich bekomme immer // Undefinierter Bezeichner SaveDialog1!!!

kann mir jemand helfen bitte!

MFG
Christian


Moderiert von user profile iconChristian S.: Topic aus Off Topic verschoben am Fr 28.04.2006 um 16:50
Moderiert von user profile iconChristian S.: Delphi-Tags hinzugefügt

_________________
~sOm3!~gUrLs!~sOm3!~dAyS!~L!f3~iS!~nOT!~bOriNg!!~
Hack Gott
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Fr 28.04.06 15:46 
Es wäre nützlich, wenn du ein bisschen mehr Code posten würdest!
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: Fr 28.04.06 15:47 
Wahrscheinlich existiert der SaveDialog1 dann wohl nicht, guck am besten noch mal nach.
LDMatrix17 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Fr 28.04.06 16:00 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
procedure TForm1.Button1Click(Sender: TObject);
begin
if saveDialog1.Execute then

   Memo1.Lines.SaveToFile(SaveDialog1.Filename);
end;
end.


user profile iconDanniolo hat folgendes geschrieben:
Wahrscheinlich existiert der SaveDialog1 dann wohl nicht, guck am besten noch mal nach.


wo soll ich nach gucken, bitte?

Moderiert von user profile iconChristian S.: Delphi-Tags hinzugefügt
Moderiert von user profile iconChristian S.: Beiträge zusammengefasst

_________________
~sOm3!~gUrLs!~sOm3!~dAyS!~L!f3~iS!~nOT!~bOriNg!!~
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: Fr 28.04.06 16:03 
Bei der Dekalration der Komponenten am besten..:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
type
  TForm1 = class(TForm)
    SaveDialog1: TSaveDialog;
  private
    { Private-Deklarationen }
  public
    { Public-Deklarationen }
  end;
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Fr 28.04.06 16:04 
Hallo, LDMatrix17!

Bitte benutze sowohl die Delphi-Tags als auch die Editierfunktion. Ersteres sorgt dafür, dass Sourcecode "schön" dargestellt wird, letztes verhindert, dass Du zwei Beiträge innerhalb einer Minute schreibst.

Grüße
Christian

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
LDMatrix17 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Fr 28.04.06 16:12 
wow.. danke!
funktioniert ;)

MFG
Christian

Sorry @ Christian, kommt nicht mehr vor

_________________
~sOm3!~gUrLs!~sOm3!~dAyS!~L!f3~iS!~nOT!~bOriNg!!~