GPF when printing

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

GPF when printing

Post by jimmaguire »

I reproduced the error in MFEditor using the rvf I sent in a separate email. Its in the RVItem PrintToBitmap. The RVPrint is nil so the test of Assigned(...RVPrint.OnPrint...) fails.

I did modify the initialization of MFEditor to registerClasses TCheckBox and TPngObject
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

It works in ActionsTest

Post by jimmaguire »

I don't see the difference yet
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Sorry - was wrong - failed in ActionsTest as well

Post by jimmaguire »

Same error
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Problem is due to printing TCheckbox

Post by jimmaguire »

The TRVPrint has an OnPrintComponent that I use to print the check box. I don't see the same option on TSRVPrint
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Same error with TSRVCheckBox in MFInsertControls

Post by jimmaguire »

I created a small rvf with just 1 check box and it fails on same line of code, thought TSRVCheckBox might work.
Sergey Tkachenko
Site Admin
Posts: 17291
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Did you send error report to Ilya?
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Yes

Post by jimmaguire »

Sent sample
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Easy to reproduce with demos

Post by jimmaguire »

Run InsertControls, open SRVControls.rvf and try its File/Print.
proxy3d
ScaleRichView Developer
Posts: 307
Joined: Mon Aug 07, 2006 9:37 am

Post by proxy3d »

1/ Bugs fixed in the update v1.3.4.

2/ > The TRVPrint has an OnPrintComponent that I use to print the check box. I don't see the same option on TSRVPrint
See OnPaintComponent in TSRichViewEdit
Post Reply