Access violation.
Hi!
I get some AV in the previewform. It occurs when i move the mousepointer
over some of the buttons. Seems to have something to do with the hints. We
use Localizer from Korzh for languagesupport in our applications, but i am
not able to localize the hints. Is there a way i can turn of the ShowHint in
the previewform?
Best regards,
Terje
I get some AV in the previewform. It occurs when i move the mousepointer
over some of the buttons. Seems to have something to do with the hints. We
use Localizer from Korzh for languagesupport in our applications, but i am
not able to localize the hints. Is there a way i can turn of the ShowHint in
the previewform?
Best regards,
Terje
This discussion has been closed.
Comments
http://www.digital-metaphors.com/rbWiki/General/International_Support
I do not recommend using the Localizer tool on the ReportBuilder strings.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
error. As a temporary solution i would like to turn off the hints in the
preview-window so that our customers can use this application. Is there a
way to do this?
Regards, Terje
I recommend looking at the source code to ppPreview.pas. The LanguageChanged
method contains the code that loads the Hint strings.
To turn off the hints, set the Toolbar.ShowHint to False.
uses
ppPrvDlg;
procedure TForm1.ppReport1PreviewFormCreate(Sender: TObject);
begin
TppPrintPreview(ppReport1.PreviewForm).Toolbar.ShowHint := False;
end;
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Due to other tasks this last month i have not tried this until now. And i
still get AV when i attempt to use one of the buttons in preview. I found
that the OnPreviewFormCreate event never occurs so my attempt to turn off
the hint never happens. Any idea why this event never fires?
Regards, Terje
One option is to load each report definition, assign the event-handler
reference and then re-save the report definition.
Another option is use to use the Report.Template.OnLoadEnd event to assign
the event-handler reference programmatically.For an example of this see
RBuilder\Demos\EndUser\Report Explorer.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com