Autor Beitrag
Marco15
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: Mi 16.03.05 15:26 
Hey Leute!!!
Hat einer von euch ne Ahnung welchen Befehl ich für den PrintDialog eingeben muss???

Danke im vorraus

Marco15 :D


Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am Mi 16.03.2005 um 15:41
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 16.03.05 15:35 
Was möchtest du denn machen?? Ihn anzeigen??

ausblenden Delphi-Quelltext
1:
PrintDialog1.Execute;					


;)
Marco15 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: Mi 16.03.05 15:38 
Hi !

Ich möchte erreichen den Text in einem richeditfeld auszudrucken.

Aber wie ???

Marco :?
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 16.03.05 15:40 
Der PrintDialog druckt nicht. Der ist nur dafür da, um die erforderlichen Informationen zu sammeln, also z.B. welcher Drucker, welche Seiten usw. Diese Informationen musst du dann auswerten und entsprechend anwenden.

Der SaveDialog speichert deine Dateien ja auch nicht, sondern gibt dir nur den Pfad zurück, wo der User seine Datei gerne gespeichert hätte. ;)
Kroni
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 720

Win 98, Win ME, Win2k, Win XP
D3 Pro
BeitragVerfasst: Mi 16.03.05 15:40 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
procedure TForm1.DruckenClick(Sender: TObject);
begin
if printdialog1.execute then
   richedit1.Print('');
end;
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: Mi 16.03.05 15:41 
Nicht so kompliziert denken.
ausblenden Delphi-Quelltext
1:
2:
  if PrintDialog.Execute then
    RichEdit1.Print('Druck-Titel');
Marco15 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: Mi 16.03.05 15:42 
Jo danke, hat funktioniert.

Marco
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 16.03.05 15:46 
user profile iconMarco15 hat folgendes geschrieben:
Jo danke, hat funktioniert.


Wie jetzt?? Das war alles was du wissen wolltest?? :shock:
Ooops... Sorry... Das hätt' ich dir auch sagen können... :rofl:

Ich muss halt
user profile iconjasocul hat folgendes geschrieben:
Nicht so kompliziert denken.


:lol: Sorry.
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Mi 23.03.05 10:05 
Könnte der Thread bitte noch als "beantworted" markiert werden :?:
Andauerns klick ich Themen an die schon beantworted sind aber nicht als solche markiert sind. :wink: :?