-
Notifications
You must be signed in to change notification settings - Fork 1
/
GUIDUnit.fmx
189 lines (189 loc) · 4.11 KB
/
GUIDUnit.fmx
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
object GUIDForm: TGUIDForm
Left = 369
Top = 146
Caption = 'Get GUID'
ClientHeight = 453
ClientWidth = 505
Position = poOwnerFormCenter
OnCreate = FormCreate
OnShow = FormShow
object PageControl1: TTabControl
TabIndex = 0
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
Width = 505
Height = 412
Align = alClient
TabOrder = 0
object tsSearch: TTabItem
Text = 'Search'
object pnSearch: TPanel
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
Width = 497
Height = 57
Align = alTop
TabOrder = 0
object edID: TEdit
Position.X = 8.000000000000000000
Position.Y = 22.000000000000000000
Width = 121
Height = 21
TabOrder = 0
end
object edID_LBL: TLabel
Position.X = 8.000000000000000000
Position.Y = 8.000000000000000000
Width = 11
Height = 13
Text = 'ID'
WordWrap = False
end
object edName: TEdit
Position.X = 136.000000000000000000
Position.Y = 22.000000000000000000
Width = 265
Height = 21
TabOrder = 1
end
object edName_LBL: TLabel
Position.X = 136.000000000000000000
Position.Y = 8.000000000000000000
Width = 28
Height = 13
Text = 'Name'
WordWrap = False
end
object btSearch: TButton
Position.X = 418.000000000000000000
Position.Y = 20.000000000000000000
Width = 75
Height = 25
Anchors = [akTop, akRight]
Text = 'Search'
Default = True
TabOrder = 2
OnClick = btSearchClick
end
end
object lvGUID: TJvListView
Left = 0
Top = 177
Width = 497
Height = 207
Align = alClient
BorderStyle = bsNone
Columns = <
item
Caption = 'GUID'
Width = 60
end
item
Caption = 'map'
Width = 80
end
item
Caption = 'x'
Width = 80
end
item
Caption = 'y'
Width = 80
end
item
Caption = 'z'
Width = 80
end>
HideSelection = False
ReadOnly = True
RowSelect = True
TabOrder = 1
ViewStyle = vsReport
OnChange = lvGUIDChange
OnDblClick = lvGUIDDblClick
OnSelectItem = lvGUIDSelectItem
AutoSelect = False
ColumnsOrder = '0=60,1=80,2=80,3=80,4=80'
Groups = <>
ExtendedColumns = <
item
end
item
end
item
end
item
end
item
end>
end
object lvCreatureOrGO: TJvListView
Left = 0
Top = 57
Width = 497
Height = 120
Align = alTop
BorderStyle = bsNone
Columns = <
item
Caption = 'ID'
Width = 60
end
item
Caption = 'Name'
Width = 300
end>
HideSelection = False
ReadOnly = True
RowSelect = True
TabOrder = 2
ViewStyle = vsReport
OnSelectItem = lvCreatureOrGOSelectItem
AutoSelect = False
ColumnsOrder = '0=60,1=300'
Groups = <>
ExtendedColumns = <
item
end
item
end>
end
end
end
object Panel1: TPanel
Position.X = 0.000000000000000000
Position.Y = 412.000000000000000000
Width = 505
Height = 41
Align = alBottom
TabOrder = 1
object btOK: TButton
Position.X = 342.000000000000000000
Position.Y = 8.000000000000000000
Width = 75
Height = 25
Anchors = [akTop, akRight]
Text = 'OK'
Enabled = False
ModalResult = 1
TabOrder = 0
end
object btCancel: TButton
Position.X = 425.000000000000000000
Position.Y = 8.000000000000000000
Width = 75
Height = 25
Anchors = [akTop, akRight]
Cancel = True
Text = 'Cancel'
ModalResult = 2
TabOrder = 1
end
end
object MyQuery: TFDQuery
Connection = MainForm.MyTrinityConnection
Params = <>
Left = 328
Top = 24
end
end