forked from Alexey-T/CudaText
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformkeys.lfm
170 lines (170 loc) · 3.96 KB
/
formkeys.lfm
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
object fmKeys: TfmKeys
Left = 603
Height = 227
Top = 440
Width = 437
ActiveControl = bAdd1
BorderIcons = [biSystemMenu]
BorderStyle = bsDialog
Caption = 'Hotkey'
ClientHeight = 227
ClientWidth = 437
KeyPreview = True
OnKeyDown = FormKeyDown
OnShow = FormShow
Position = poMainFormCenter
ShowInTaskBar = stNever
LCLVersion = '2.1.0.0'
Scaled = False
object panelBtn: TButtonPanel
Left = 6
Height = 29
Top = 192
Width = 425
OKButton.Name = 'OKButton'
OKButton.DefaultCaption = True
OKButton.OnClick = OKButtonClick
HelpButton.Name = 'HelpButton'
HelpButton.Caption = 'Reset'
HelpButton.OnClick = HelpButtonClick
CloseButton.Name = 'CloseButton'
CloseButton.DefaultCaption = True
CancelButton.Name = 'CancelButton'
CancelButton.DefaultCaption = True
TabOrder = 0
ShowButtons = [pbOK, pbCancel]
ShowBevel = False
end
object panelPress: TPanel
Left = 338
Height = 186
Top = 0
Width = 99
Align = alRight
BevelOuter = bvNone
Caption = 'Press a key...'
ParentColor = False
TabOrder = 1
Visible = False
end
object panelInput: TPanel
Left = 0
Height = 186
Top = 0
Width = 338
Align = alClient
AutoSize = True
BorderSpacing.Bottom = 3
BevelOuter = bvNone
ClientHeight = 186
ClientWidth = 338
TabOrder = 2
object labelKey1: TLabel
AnchorSideTop.Control = panelInput
Left = 9
Height = 17
Top = 10
Width = 32
BorderSpacing.Left = 9
BorderSpacing.Top = 10
Caption = 'Key1'
ParentColor = False
end
object bClear1: TButton
AnchorSideLeft.Control = labelKey1
AnchorSideTop.Control = labelKey1
AnchorSideTop.Side = asrBottom
Left = 79
Height = 29
Top = 30
Width = 100
AutoSize = True
BorderSpacing.Left = 70
BorderSpacing.Top = 3
Caption = 'Clear'
Constraints.MinWidth = 100
OnClick = bClear1Click
TabOrder = 0
end
object bAdd1: TButton
AnchorSideLeft.Control = bClear1
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = bClear1
Left = 185
Height = 29
Top = 30
Width = 100
AutoSize = True
BorderSpacing.Left = 6
Caption = 'Add key'
Constraints.MinWidth = 100
OnClick = bAdd1Click
TabOrder = 1
end
object labelKey2: TLabel
AnchorSideLeft.Control = labelKey1
AnchorSideTop.Control = bClear1
AnchorSideTop.Side = asrBottom
Left = 9
Height = 17
Top = 67
Width = 32
BorderSpacing.Top = 8
Caption = 'Key2'
ParentColor = False
end
object bClear2: TButton
AnchorSideLeft.Control = bClear1
AnchorSideTop.Control = labelKey2
AnchorSideTop.Side = asrBottom
Left = 79
Height = 29
Top = 87
Width = 100
AutoSize = True
BorderSpacing.Top = 3
Caption = 'Clear'
Constraints.MinWidth = 100
OnClick = bClear2Click
TabOrder = 2
end
object bAdd2: TButton
AnchorSideLeft.Control = bClear2
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = bClear2
Left = 185
Height = 29
Top = 87
Width = 100
AutoSize = True
BorderSpacing.Left = 6
Caption = 'Add key'
Constraints.MinWidth = 100
OnClick = bAdd2Click
TabOrder = 3
end
object chkForLexer: TCheckBox
AnchorSideLeft.Control = labelKey1
AnchorSideTop.Control = bClear2
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Control = panelInput
AnchorSideBottom.Side = asrBottom
Left = 9
Height = 24
Top = 162
Width = 138
Anchors = [akLeft, akBottom]
Caption = 'For current lexer'
TabOrder = 4
end
object LabelDupInfo: TLabel
Left = 9
Height = 17
Top = 128
Width = 98
Caption = 'duplicated key'
ParentColor = False
Visible = False
end
end
end