TppReport. OnPreviewFormCreate Bug?
This is for 6.03.
I was trying to set the preview form size and Window in this event
handler but it wasn't firing despite being clearly visible in the events
tab of the Object Inspector (D4 Sp2 BTW). I had a breakpoint on it and
the Previewform would just appear.
I eventually assigned the evnt handler at runtime and that worked.
David Bolton
I was trying to set the preview form size and Window in this event
handler but it wasn't firing despite being clearly visible in the events
tab of the Object Inspector (D4 Sp2 BTW). I had a breakpoint on it and
the Previewform would just appear.
I eventually assigned the evnt handler at runtime and that worked.
David Bolton
This discussion has been closed.
Comments
This is not a known issue with ReportBuilder. Try creating a minimal
application consisting of a form, report object, and a button. In the
OnClick of the button call Report.Print;. Then inside the
Report.OnPreviewFormCreate event place a ShowMessage or Beep. In all of my
testing this event has fired when the button was pressed.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com