blob: 48b247f0596c14496262103e583bfc7e8578f258 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{$MODE DELPHI}
uses classes;
type
TNotifyEventA = procedure (Sender:TObject) of object;
TWOLBetaObject = class;
TwolBrushes = class(TPersistent)
private
FOnChange :TNotifyEventA;
public
property OnChange :TNotifyEventA read FOnChange Write FOnChange;
end;
TWOLBetaObject = class(TComponent)
public
constructor Create(AOwner:TComponent);
protected
procedure DoBrushChange(Sender:TObject);
private
FBrush : TWolBrushes;
end;
procedure TWOLBetaObject.DoBrushChange(Sender:TObject);
var DC:longint;
begin
end;
constructor TWOLBetaObject.Create(AOwner:TComponent);
begin
FBrush :=TWOLBrushes.Create;
FBrush.OnChange:=DoBrushChange;
end;
begin
end.
|