Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 27 Apr 2024, 13:01

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 20 Oct 2012, 05:38 
Offline

Joined: 15 Oct 2012, 07:05
Posts: 17
Hello,
plz say me how can insert page number in page footer when use TPrintDBGridEh!?
thanks.


Top
 Profile  
 
PostPosted: 25 Oct 2012, 06:52 
Offline
Администратор

Joined: 22 Dec 2011, 20:19
Posts: 335
Hello

Use property PrintDBGridEh1.PageFooter.CenterText.Text like this
Code:
  PrintDBGridEh1.PageFooter.CenterText.Text := 'Page. &[Page]';


In LeftText, CenterText or RightText properties of the PageFooter and PageHeader can have macros for next values:

&[Page] Substitutes current page
&[ShortDate] Substitutes current date using DateToStr function.
&[Date] Substitutes current date using DateToStr function.
&[LongDate] Substitutes current date using LongDateFormat.
&[Time] Substitutes current date using TimeToStr function.
&[Pages] Substitutes the count of pages. Presence of this macro slows preview of the first page.

Best regards
Admin

_________________
Best regards
Admin


Top
 Profile  
 
PostPosted: 25 Oct 2012, 08:12 
Offline

Joined: 15 Oct 2012, 07:05
Posts: 17
thanks.
Plz add this guidance to Ehlib Manual Help


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 48 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group