Ignore:
Timestamp:
Nov 22, 2012, 1:32:52 PM (12 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/UDrawForm.pas

    r443 r445  
    66
    77uses
    8   Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs;
     8  Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
     9  LCLType;
    910
    1011type
     
    1718    { private declarations }
    1819  public
    19     { public declarations }
     20    EraseBackgroundEnabled: Boolean;
     21    procedure EraseBackground(DC: HDC); override;
    2022  end;
    2123
     
    3234end;
    3335
     36procedure TDrawForm.EraseBackground(DC: HDC);
     37begin
     38  if EraseBackgroundEnabled then
     39    inherited EraseBackground(DC);
     40end;
     41
    3442initialization
    3543  {$I UDrawForm.lrs}
Note: See TracChangeset for help on using the changeset viewer.