forked from ibv/LDAP-Admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCustMenuDlg.dfm
312 lines (312 loc) · 7.25 KB
/
CustMenuDlg.dfm
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
object CustomMenuDlg: TCustomMenuDlg
Left = 428
Height = 548
Top = 183
Width = 695
ActiveControl = TreeView
Caption = 'Customize menu'
ClientHeight = 529
ClientWidth = 695
Color = clBtnFace
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Menu = MainMenu
OnCloseQuery = FormCloseQuery
OnResize = FormResize
Position = poMainFormCenter
LCLVersion = '1.6.0.4'
object Panel2: TPanel
Left = 321
Height = 483
Top = 0
Width = 11
Align = alRight
BevelOuter = bvNone
TabOrder = 0
end
object Panel3: TPanel
Left = 0
Height = 46
Top = 483
Width = 695
Align = alBottom
BevelOuter = bvNone
ClientHeight = 46
ClientWidth = 695
TabOrder = 1
object btnCancel: TButton
Left = 605
Height = 25
Top = 10
Width = 75
Anchors = [akTop, akRight]
Caption = '&Cancel'
ModalResult = 2
TabOrder = 1
end
object btnOK: TButton
Left = 525
Height = 25
Top = 10
Width = 75
Anchors = [akTop, akRight]
Caption = '&OK'
ModalResult = 1
TabOrder = 0
end
end
object Panel4: TPanel
Left = 689
Height = 483
Top = 0
Width = 6
Align = alRight
BevelOuter = bvNone
TabOrder = 2
end
object Panel6: TPanel
Left = 0
Height = 483
Top = 0
Width = 6
Align = alLeft
BevelOuter = bvNone
TabOrder = 3
end
object Panel1: TPanel
Left = 332
Height = 483
Top = 0
Width = 357
Align = alRight
BevelOuter = bvNone
ClientHeight = 483
ClientWidth = 357
TabOrder = 4
object Panel5: TPanel
Left = 0
Height = 483
Top = 0
Width = 357
Align = alClient
BevelInner = bvLowered
BevelOuter = bvNone
ClientHeight = 483
ClientWidth = 357
TabOrder = 0
object Panel8: TPanel
Left = 1
Height = 72
Top = 1
Width = 355
Align = alTop
BevelOuter = bvNone
ClientHeight = 72
ClientWidth = 355
TabOrder = 0
object Label1: TLabel
Left = 14
Height = 13
Top = 14
Width = 47
Caption = 'Ca&ption:'
ParentColor = False
end
object edCaption: TEdit
Left = 14
Height = 19
Top = 30
Width = 329
OnChange = edCaptionChange
TabOrder = 0
end
end
object GroupBox1: TGroupBox
Left = 14
Height = 169
Top = 70
Width = 329
Caption = ' &Action '
ClientHeight = 140
ClientWidth = 325
TabOrder = 1
object rbDisabled: TRadioButton
Left = 22
Height = 26
Top = 18
Width = 77
Caption = '&Disabled'
Checked = True
OnClick = rbClick
TabOrder = 0
end
object rbDefaultAction: TRadioButton
Left = 22
Height = 26
Top = 58
Width = 106
Caption = 'Defaul&t action'
OnClick = rbClick
TabOrder = 1
end
object rbTemplate: TRadioButton
Left = 22
Height = 26
Top = 98
Width = 79
Caption = '&Template'
OnClick = rbClick
TabOrder = 2
end
object cbTemplate: TComboBox
Left = 126
Height = 27
Top = 96
Width = 185
Enabled = False
ItemHeight = 16
OnChange = cbTemplateChange
OnDrawItem = cbTemplateDrawItem
Style = csOwnerDrawFixed
TabOrder = 3
end
object cbDefaultAction: TComboBox
Left = 126
Height = 27
Top = 56
Width = 185
ItemHeight = 16
Items.Strings = (
'Entry'
'User'
'Computer'
'Group'
'Mailing list'
'Transport table'
'Organizational unit'
'Group of unique names'
)
OnChange = cbDefaultActionChange
OnDrawItem = cbDefaultActionDrawItem
Style = csOwnerDrawFixed
TabOrder = 4
end
object ComboText: TStaticText
Left = 30
Height = 4
Top = 122
Width = 4
Font.Color = clBtnShadow
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsItalic]
OnMouseDown = ComboTextMouseDown
ParentFont = False
TabOrder = 5
end
end
object GroupBox2: TGroupBox
Left = 14
Height = 89
Top = 254
Width = 329
Caption = 'Hotkey'
ClientHeight = 60
ClientWidth = 325
TabOrder = 2
object cbShortcutKey: TComboBox
Left = 198
Height = 20
Top = 26
Width = 97
ItemHeight = 0
TabOrder = 0
end
object cbCtrl: TCheckBox
Left = 22
Height = 26
Top = 26
Width = 50
Caption = 'Ctrl'
TabOrder = 1
end
object cbShift: TCheckBox
Left = 78
Height = 26
Top = 26
Width = 57
Caption = 'Shift'
TabOrder = 2
end
object cbAlt: TCheckBox
Left = 134
Height = 26
Top = 26
Width = 45
Caption = 'Alt'
TabOrder = 3
end
end
end
end
object TreeView: TTreeView
Left = 6
Height = 483
Top = 0
Width = 315
Align = alClient
DefaultItemHeight = 16
DragCursor = crDefault
DragMode = dmAutomatic
HideSelection = False
Indent = 19
PopupMenu = PopupMenu
ReadOnly = True
ScrollBars = ssAutoBoth
TabOrder = 5
OnChange = TreeViewChange
OnChanging = TreeViewChanging
OnContextPopup = TreeViewContextPopup
OnCustomDrawItem = TreeViewCustomDrawItem
OnDragDrop = TreeViewDragDrop
OnDragOver = TreeViewDragOver
OnEndDrag = TreeViewEndDrag
OnStartDrag = TreeViewStartDrag
Options = [tvoAutoItemHeight, tvoKeepCollapsedNodes, tvoReadOnly, tvoShowButtons, tvoShowLines, tvoShowRoot, tvoToolTips, tvoThemedDraw]
end
object MainMenu: TMainMenu
left = 48
top = 400
object mbTest: TMenuItem
Caption = '&Test'
end
end
object PopupMenu: TPopupMenu
OnPopup = PopupMenuPopup
left = 80
top = 400
object mbAddItem: TMenuItem
Caption = 'Add &item'
OnClick = mbAddItemClick
end
object mbAddSubmenu: TMenuItem
Caption = 'Add &submenu'
OnClick = mbAddSubmenuClick
end
object mbAddSeparator: TMenuItem
Caption = 'Add &separator'
OnClick = mbAddSeparatorClick
end
object mbDelete: TMenuItem
Caption = 'Delete...'
OnClick = mbDeleteClick
end
end
object ScrollTimer: TTimer
Enabled = False
OnTimer = ScrollTimerTimer
left = 16
top = 400
end
end