Page 2 of 2
Capturing report new and report open events in the report designer
Posted: Mon Feb 19, 2007 6:09 am
by Edward
Please define a static constructor for your form (for example Form1). It is gets a guarantee that Event Handler OpenMyReportFile will be added to the static event StiDesigner.LoadingReport only once.
Code: Select all
Shared Sub New()
AddHandler StiDesigner.LoadingReport, New StiLoadingObjectEventHandler(AddressOf Form1.OpenMyReportFile)
End Sub
Thank you.
Capturing report new and report open events in the report designer
Posted: Mon Feb 19, 2007 2:26 pm
by jing
Thanks - this seems to work okay so far - will let you know if it happens again
Capturing report new and report open events in the report designer
Posted: Tue Feb 20, 2007 8:04 pm
by jing
Ater I have added
Code: Select all
AddHandler Stimulsoft.Report.Design.StiDesigner.LoadingReport, New Stimulsoft.Report.Design.StiLoadingObjectEventHandler(AddressOf OpenMyReportFile)
in Form load, the "New Report" event doesn't work anymore???
When I clicked on "New Report" button in the Designer, the wizard page shows up, I choose to create a blank report, then the report designer did not refresh itself?! I don't understand why this is happening, I didn't customise the New Report event at all...
any help will be great
thanks
Capturing report new and report open events in the report designer
Posted: Wed Feb 21, 2007 1:04 am
by Vital
Fixed. Please get build from 20 Feb.
Thank you.
Capturing report new and report open events in the report designer
Posted: Wed Feb 21, 2007 1:54 pm
by jing
Hi,
I have installed build from 21 Feb - the one you sent me through e-mail.
The new button is still not working....
I got this error, "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
I didn't install the build from 20 Feb - as I though 21 Feb will be the latest build?
Thanks
Capturing report new and report open events in the report designer
Posted: Thu Feb 22, 2007 4:07 am
by Edward
jing wrote:The new button is still not working....
Fixed.
Please download build from February, 22.
Thank you.