i use delphi3 and richview version 1.9.24
i want function pagebreaks and then i make button
if button is click then
richviewedit.clearsoftpagebreaks;
rvprint.assignsourse(richviewedit);
rvpritn.formatpages(rvdoall);
richviewedit.assignsoftpagebreaks(rvprint);
richviewedit.update;
end;
but when richviewedit.onchange pagebreaks is clear ..
i try same code into richviewedit.onchange but error
error message : canvas not draw ..
how remain pagebreaks.. plz..
thanks..
about pagebreaks problem..
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
formatpages
i use delphi 3.
i am not change code. only i change richview editor verison upgrade..
i use this code ..
when richvieweditor.onchage and RichViewEdit1VScrolled function
i think when formatpage happened.
ps ) delphi3 and richview1.6.25 is good
i am not change code. only i change richview editor verison upgrade..
i use this code ..
when richvieweditor.onchage and RichViewEdit1VScrolled function
i think when formatpage happened.
ps ) delphi3 and richview1.6.25 is good
i send e-mail
i send e-mail
this mail is samplie program..
this mail is samplie program..
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
i watting your reply ..
i watting your reply ..
Thank you for reading my e-mail.
Thank you for reading my e-mail.
I received your mail last week. In your mail, your answer would be last weekend.
But I do not yet received your answer.
Is problem serious?
I have no time. Please help me.
I received your mail last week. In your mail, your answer would be last weekend.
But I do not yet received your answer.
Is problem serious?
I have no time. Please help me.
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
I am sorry for delay.
This is because a bug in the "fast format" mode.
Quick fix: exclude rvoFastFormat from rvp.rv.Options:
The "fast format" mode will be fixed in the next update.
PS: this bug only occurs in Delphi 3
This is because a bug in the "fast format" mode.
Quick fix: exclude rvoFastFormat from rvp.rv.Options:
Code: Select all
rvp := TRVPrint.Create(Self);
rvp.rv.Options := rvp.rv.Options-[rvoFastFormatting];
...
PS: this bug only occurs in Delphi 3