Last change
on this file was 573, checked in by chronos, 5 months ago |
- Modified: Build with Lazarus 3.4.
- Modified: Removed U prefix from unit names.
|
File size:
664 bytes
|
Line | |
---|
1 | unit FormDraw;
|
---|
2 |
|
---|
3 | interface
|
---|
4 |
|
---|
5 | uses
|
---|
6 | Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
|
---|
7 | LCLType;
|
---|
8 |
|
---|
9 | type
|
---|
10 |
|
---|
11 | { TFormDraw }
|
---|
12 |
|
---|
13 | TFormDraw = class(TForm)
|
---|
14 | procedure FormCreate(Sender: TObject);
|
---|
15 | private
|
---|
16 |
|
---|
17 | public
|
---|
18 | FrameSize: TPoint;
|
---|
19 | EraseBackgroundEnabled: Boolean;
|
---|
20 | procedure EraseBackground(DC: HDC); override;
|
---|
21 | end;
|
---|
22 |
|
---|
23 |
|
---|
24 | implementation
|
---|
25 |
|
---|
26 | { TFormDraw }
|
---|
27 |
|
---|
28 | procedure TFormDraw.FormCreate(Sender: TObject);
|
---|
29 | begin
|
---|
30 | DoubleBuffered := True;
|
---|
31 | end;
|
---|
32 |
|
---|
33 | procedure TFormDraw.EraseBackground(DC: HDC);
|
---|
34 | begin
|
---|
35 | if EraseBackgroundEnabled then
|
---|
36 | inherited;
|
---|
37 | end;
|
---|
38 |
|
---|
39 | initialization
|
---|
40 | {$I FormDraw.lrs}
|
---|
41 |
|
---|
42 | end.
|
---|
43 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.