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
GPF when printing
-
- Posts: 206
- Joined: Thu Sep 15, 2005 1:41 am
- Location: California
It works in ActionsTest
I don't see the difference yet
-
- Posts: 206
- Joined: Thu Sep 15, 2005 1:41 am
- Location: California
-
- Posts: 206
- Joined: Thu Sep 15, 2005 1:41 am
- Location: California
Problem is due to printing TCheckbox
The TRVPrint has an OnPrintComponent that I use to print the check box. I don't see the same option on TSRVPrint
-
- Posts: 206
- Joined: Thu Sep 15, 2005 1:41 am
- Location: California
Same error with TSRVCheckBox in MFInsertControls
I created a small rvf with just 1 check box and it fails on same line of code, thought TSRVCheckBox might work.
-
- Site Admin
- Posts: 17520
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 206
- Joined: Thu Sep 15, 2005 1:41 am
- Location: California
Easy to reproduce with demos
Run InsertControls, open SRVControls.rvf and try its File/Print.