source: PrintPreview/Demo/Demo.lpr

Last change on this file was 455, checked in by chronos, 12 years ago
  • Modified: PrintPreview should use TVectorCanvas instead of raster TCanvas dependent on DPI of printer. But some font function as TextWidth and TextHeight cannot be easily implemented without use of OS API.
File size: 402 bytes
Line 
1program Demo;
2
3{$mode objfpc}{$H+}
4
5uses
6 {$IFDEF UNIX}{$IFDEF UseCThreads}
7 cthreads,
8 {$ENDIF}{$ENDIF}
9 Interfaces, // this includes the LCL widgetset
10 Forms, UFormMain, PrintPreview
11 { you can add units after this };
12
13{$R *.res}
14
15begin
16 RequireDerivedFormResource := True;
17 Application.Initialize;
18 Application.CreateForm(TFormMain, FormMain);
19 Application.Run;
20end.
21
Note: See TracBrowser for help on using the repository browser.