Support whether SpreadSheet component page numbering in print and preview ?
OS: Windows 7
Delphi XE
Components ver 6.4.0.0
Or maybe there is support for new version?
You can do this by setting
advstringgrid1.PrintSettings.PageNr := ppXXXX with ppXXXX the position where you want the page nr.
I set this property and in some problems i select his red color
English » |
< id="SL_lng_to">< value="af">Afrikaans< value="sq">Albanian< value="ar">Arabic< value="hy">Armenian< value="az">Azerbaijani< value="eu">Basque< value="bn">Bengali< value="be">Belarusian< value="bg">Bulgarian< value="ca">Catalan< value="zh-CN">Chinese (Simp)< value="zh-TW">Chinese (Trad)< value="hr">Croatian< value="cs">Czech< value="da">Danish< value="nl">Dutch< value="en">English< value="eo">Esperanto< value="et">Estonian< value="tl">Filipino< value="fi">Finnish< value="fr">French< value="gl">Galician< value="ka">Georgian< value="de">German< value="el">Greek< value="gu">Gujarati< value="ht">Haitian Creole< value="iw">Hebrew< value="hi">Hindi< value="hu">Hungarian< value="is">Icelandic< value="id">Indonesian< value="ga">Irish< value="it">Italian< value="ja">Japanese< value="kn">Kannada< value="ko">Korean< value="lo">Lao< value="la">Latin< value="lv">Latvian< value="lt">Lithuanian< value="mk">Macedonian< value="ms">Malay< value="mt">Maltese< value="no">Norwegian< value="fa">Persian< value="pl">Polish< value="pt">Portuguese< value="ro">Romanian< value="ru">Russian< value="sr">Serbian< value="sk">Slovak< value="sl">Slovenian< ed="" value="es">Spanish< value="sw">Swahili< value="sv">Swedish< value="ta">Tamil< value="te">Telugu< value="th">Thai< value="tr">Turkish< value="uk">Ukrainian< value="ur">Urdu< value="vi">Vietnamese< value="cy">Welsh< value="yi">Yiddish |
|
|
|
|
|
|
|
Text-to-speech function is limited to 100 characters
I expected to see 1-13, 2-13, 3-13 ....
This only happens when columns span multiple pages. Is this the case?
yes, i have many report where columns span multiple pages.
If this is bug you components when is it fix?
Cannot be reproduced.
Test code on a default grid:
procedure TForm5.Button1Click(Sender: TObject);
begin
if PrinterSetupDialog1.Execute then
advstringgrid1.Print;
end;
procedure TForm5.FormCreate(Sender: TObject);
begin
advstringgrid1.ColCount := 50;
advstringgrid1.RowCount := 125;
advstringgrid1.LinearFill;
advstringgrid1.PrintSettings.PageNr := ppBottomCenter;
end;
and result shows page numbers as expected:
http://www.4sync.com/file/Cr579dEh/6-8.html - xls file
http://www.4sync.com/file/T6OgPVqc/error.html - result
What are your settings?
I can only think you set the printing to fit everything on one page and then of course, you would have only page 1.
Did you test out my sample code provided?
I add previw to you demo 59 http://www.tmssoftware.com/site/advgrid.asp
and program is hangs ((
It's not hanging, it just takes quite some time to do the needed calculations with default settings.
To make it faster, set:
AdvPreviewDialog1.PreviewFast := true;
AdvGridWorkbook1.Grid.PrintSettings.NoAutoSize := true;
AdvGridWorkbook1.Grid.PrintSettings.NoAutoSizeRow := true;
and then call
AdvPreviewDialog1.Execute;