-
Notifications
You must be signed in to change notification settings - Fork 1
/
CreatureOrGOUnit.fmx
203 lines (203 loc) · 4.61 KB
/
CreatureOrGOUnit.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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
object CreatureOrGOForm: TCreatureOrGOForm
Left = 281
Top = 182
Caption = 'Creature or GO'
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 = 97
Align = alTop
TabOrder = 0
object edID: TEdit
Position.X = 8.000000000000000000
Position.Y = 66.000000000000000000
Width = 121
Height = 21
TabOrder = 0
end
object edID_LBL: TLabel
Position.X = 8.000000000000000000
Position.Y = 52.000000000000000000
Width = 11
Height = 13
Text = 'ID'
WordWrap = False
end
object edName: TEdit
Position.X = 136.000000000000000000
Position.Y = 66.000000000000000000
Width = 265
Height = 21
TabOrder = 1
end
object edName_LBL: TLabel
Position.X = 136.000000000000000000
Position.Y = 52.000000000000000000
Width = 28
Height = 13
Text = 'Name'
WordWrap = False
end
object btSearch: TButton
Position.X = 418.000000000000000000
Position.Y = 64.000000000000000000
Width = 75
Height = 25
Anchors = [akTop, akRight]
Text = 'Search'
Default = True
TabOrder = 2
OnClick = btSearchClick
end
object rgCreatureOrGO: TPanel
Position.X = 8.000000000000000000
Position.Y = 0.000000000000000000
Width = 481
Height = 49
Columns = 3
Items.Strings = (
'creature'
'gameobject')
TabOrder = 3
end
end
object lvCreatureOrGO: TJvListView
Left = 0
Top = 97
Width = 497
Height = 287
Align = alClient
BorderStyle = bsNone
Columns = <
item
Caption = 'ID'
Width = 60
end
item
Caption = 'Name'
Width = 300
end>
HideSelection = False
ReadOnly = True
RowSelect = True
TabOrder = 1
ViewStyle = vsReport
OnChange = lvCreatureOrGOChange
OnDblClick = lvCreatureOrGODblClick
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
object btBrowseSite: TButton
Position.X = 96.000000000000000000
Position.Y = 8.000000000000000000
Width = 75
Height = 25
Text = 'BrowseSite'
Enabled = False
TabOrder = 2
OnClick = btBrowseSiteClick
end
object btEditCreatureOrGO: TButton
Position.X = 8.000000000000000000
Position.Y = 8.000000000000000000
Width = 75
Height = 25
Text = 'Edit'
Enabled = False
TabOrder = 3
OnClick = btEditCreatureOrGOClick
end
object btBrowseCreatureOrGOPopup: TButton
Position.X = 170.000000000000000000
Position.Y = 8.000000000000000000
Width = 17
Height = 25
Enabled = False
PopupMenu = pmBrowseSite
TabOrder = 4
OnClick = btBrowseCreatureOrGOPopupClick
WordWrap = True
end
end
object MyQuery: TFDQuery
Connection = MainForm.MyTrinityConnection
Params = <>
Left = 328
Top = 24
end
object pmBrowseSite: TPopupMenu
Left = 359
Top = 26
object pmwowhead: TMenuItem
Text = 'wowhead'
OnClick = pmSiteClick
end
object pmthottbot: TMenuItem
Text = 'thottbot'
OnClick = pmSiteClick
end
object pmallakhazam: TMenuItem
Text = 'allakhazam'
OnClick = pmSiteClick
end
object pmwowdb: TMenuItem
Text = 'wowdb'
OnClick = pmSiteClick
end
object pmruwowhead: TMenuItem
Text = 'ruwowhead'
end
end
end