Hi Webmaster:
I'm back again.
Recently, i have try to using the Printing/Printed events in preview mode ( sitReport1.Show() ), there are not work.
but use sitReport1.Print() is OK.
Would you please help me for solve it a.s.a.p?
Code:
private void button1_Click(object sender, EventArgs e)
{
stiReport1.Load(@".\FGBoxLabel.mrz");
stiReport1.Show();
}
private void stiReport1_Printed(object sender, EventArgs e)
{
MessageBox.Show("Printed OK");
}
Screen shot in attached.
RGDS
Henry
The print events are not available.
- Woodcutter
- Posts: 52
- Joined: Wed Mar 01, 2017 2:17 am
The print events are not available.
- Attachments
-
- code.jpg (239.23 KiB) Viewed 820 times
-
- events.jpg (200.91 KiB) Viewed 826 times
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: The print events are not available.
Hello,
Please try to use the following event:
StiOptions.Engine.GlobalEvents.ReportPrinting += GlobalEvents_ReportPrinting;
Thank you.
Please try to use the following event:
StiOptions.Engine.GlobalEvents.ReportPrinting += GlobalEvents_ReportPrinting;
Thank you.