-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHMenu.pas
60 lines (51 loc) · 1.55 KB
/
HMenu.pas
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{*******************************************************}
{ }
{ HimsSoft }
{ }
{ °æȨËùÓÐ (C) 2019 [email protected] }
{ }
{*******************************************************}
unit HMenu;
interface
type TMenu = class
private
FMDesc: string;
FMParent: Integer;
FMID: Integer;
FMVisible: Integer;
FMClass: string;
procedure SetMDesc(const Value: string);
procedure SetMID(const Value: Integer);
procedure SetMParent(const Value: Integer);
procedure SetMVisible(const Value: Integer);
procedure SetMClass(const Value: string);
public
property MID:Integer read FMID write SetMID;//ID
property MDesc:string read FMDesc write SetMDesc;//Caption
property MParent:Integer read FMParent write SetMParent;//ParentId
property MVisible:Integer read FMVisible write SetMVisible;//Visible
property MClass:string read FMClass write SetMClass; //ClassName
end;
implementation
{ TMenu }
procedure TMenu.SetMClass(const Value: string);
begin
FMClass := Value;
end;
procedure TMenu.SetMDesc(const Value: string);
begin
FMDesc := Value;
end;
procedure TMenu.SetMID(const Value: Integer);
begin
FMID := Value;
end;
procedure TMenu.SetMParent(const Value: Integer);
begin
FMParent := Value;
end;
procedure TMenu.SetMVisible(const Value: Integer);
begin
FMVisible := Value;
end;
end.