GridPrinter: Allow to adjust printer scale factor to fit print-out into a number of pages.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8622 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2022-11-14 22:40:53 +00:00
parent 822873cffb
commit 8f4791320c
5 changed files with 378 additions and 310 deletions

View File

@@ -111,7 +111,7 @@ end;
procedure TMainForm.FormCreate(Sender: TObject);
const
NUM_ROWS = 100;
NUM_COLS = 20;
NUM_COLS = 15;
var
i, r, c: Integer;
begin
@@ -140,8 +140,6 @@ begin
finally
StringGrid1.EndUpdate;
end;
// GridPrinter1.PrintScaleFactor := 0.5;
end;
{ Populates the languages combobox: reads the names of the app's .po files