DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ADD to Preview

 
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
Seb@stieN
Member


Joined: 28 May 2003
Posts: 9

PostPosted: 11/05/04 20:16    Post subject: ADD to Preview Reply with quote

I have Add :
Code:
FOnAfterRenderRTF: TNotifyEvent;
...
procedure AfterRenderRTF;
....
property OnAfterRenderRTF: TNotifyEvent read FOnAfterRenderRTF write FOnAfterRenderRTF;


IN function PaintRichText After
Quote:

if Range.chrg.cpMin <> -1 then
Inc(Result);

Code:

RestoreDC(FCanvas.Handle, SaveIndex);
AfterRenderRTF;
SaveIndex := SaveDC(FCanvas.Handle);


AND
Code:

procedure TPrintPreview.AfterRenderRTF;
begin
    if Assigned(FOnAfterRenderRTF) then
      FOnAfterRenderRTF(Self);
end;

Is it Correct???
I Think it can util to paint over the RTF file
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 362

PostPosted: 12/05/04 07:17    Post subject: Reply with quote

I think it's better to add a more general end-of-page event. What do you think?
Back to top
View user's profile Send e-mail Visit poster's website
Seb@stieN
Member


Joined: 28 May 2003
Posts: 9

PostPosted: 12/05/04 08:06    Post subject: Reply with quote

Quote:
I think it's better to add a more general end-of-page event. What do you think?

Yes it's..
I have add this because after i render a RichtEdit i would add some élément in the front og the page... I don't Think to add a general end_of_page...
Back to top
View user's profile
Seb@stieN
Member


Joined: 28 May 2003
Posts: 9

PostPosted: 12/05/04 21:59    Post subject: Reply with quote

What can i change tomake a more generale End Of Page?
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 362

PostPosted: 13/05/04 08:50    Post subject: Reply with quote

I added the new OnEndPage event to TPrintPreview. And, the new release is available to download.
Back to top
View user's profile Send e-mail Visit poster's website
Seb@stieN
Member


Joined: 28 May 2003
Posts: 9

PostPosted: 13/05/04 10:07    Post subject: Reply with quote

Thank You ! ! !
It's great Job . . .
Back to top
View user's profile
Display posts from previous:   
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group