Autor Beitrag
chris_davidi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76

Windows 98 SE
Delphi 3
BeitragVerfasst: Di 26.08.03 09:44 
Hallo...

Ich habe über "Datei" -> "Neu" -> "Formular" das Formular "Quick Report Ettiketten" in meine Anwendung hinugefügt. Nun will ich per Button auf dieses Formular zugreifen. Dies geht ja eigentlich so oder?

ausblenden Quelltext
1:
2:
3:
4:
procedure TForm1.SpeedButton1Click(Sender: TObject);
begin
 QRLabelsForm.Show;
end;


Jedoch passiert nichts? Hat jemand einen Tipp?

Danke & Grüße
Chris
gasser
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 51

W7
Delphi XE
BeitragVerfasst: Mi 27.08.03 17:06 
Der Befehl lautet

Form1.QRReport.Preview;

Form1 ist das Formular
QRRepor ist der Report der auf diesem Formular plaziert ist
und preview schaltet den Report im Vorschaumodus auf den Bildschirm. Das Gegenstück wäre Print, dann geht er einfach direkt auf den Standartdrucker.

Gruss
Hanspeter