-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathActionDetails.frm
295 lines (291 loc) · 8.92 KB
/
ActionDetails.frm
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
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form ActionDetails
BorderStyle = 3 'Fixed Dialog
Caption = "Action Details"
ClientHeight = 5025
ClientLeft = 45
ClientTop = 435
ClientWidth = 8700
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Moveable = 0 'False
ScaleHeight = 5025
ScaleWidth = 8700
ShowInTaskbar = 0 'False
Begin VB.TextBox ChangeIDTXT
Height = 495
Left = 960
TabIndex = 16
Text = "Text1"
Top = 2520
Visible = 0 'False
Width = 2055
End
Begin VB.CommandButton Command2
Cancel = -1 'True
Caption = "Cancel"
Height = 615
Left = 6600
TabIndex = 15
Top = 1800
Width = 1695
End
Begin VB.CommandButton Command1
Caption = "OK"
Default = -1 'True
Height = 615
Left = 6600
TabIndex = 14
Top = 1080
Width = 1695
End
Begin MSComctlLib.ListView ActionItemList
Height = 1695
Left = 120
TabIndex = 12
Top = 3240
Width = 8415
_ExtentX = 14843
_ExtentY = 2990
View = 3
LabelEdit = 1
LabelWrap = -1 'True
HideSelection = 0 'False
Checkboxes = -1 'True
FullRowSelect = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 2
BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628}
Text = "Actions Number"
Object.Width = 2646
EndProperty
BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 1
Text = "Action Text"
Object.Width = 14817
EndProperty
End
Begin VB.TextBox Line4TXT
BackColor = &H80000000&
Height = 375
Left = 2400
Locked = -1 'True
TabIndex = 10
TabStop = 0 'False
Top = 1200
Width = 2895
End
Begin VB.TextBox ActionTXT
BackColor = &H80000000&
Height = 375
Left = 6360
Locked = -1 'True
TabIndex = 9
TabStop = 0 'False
Top = 120
Width = 2055
End
Begin VB.TextBox Line1TXT
BackColor = &H80000000&
Height = 375
Left = 2400
Locked = -1 'True
TabIndex = 7
TabStop = 0 'False
Top = 120
Width = 2895
End
Begin VB.TextBox CommentsTXT
Height = 615
Left = 2400
MultiLine = -1 'True
TabIndex = 2
Top = 1560
Width = 2895
End
Begin VB.TextBox Line3TXT
BackColor = &H80000000&
Height = 375
Left = 2400
Locked = -1 'True
TabIndex = 1
TabStop = 0 'False
Top = 840
Width = 2895
End
Begin VB.TextBox Line2TXT
BackColor = &H80000000&
Height = 375
Left = 2400
Locked = -1 'True
TabIndex = 0
TabStop = 0 'False
Top = 480
Width = 2895
End
Begin VB.Label Label6
Alignment = 2 'Center
Caption = "Actions:"
BeginProperty Font
Name = "Gill Sans MT"
Size = 11.25
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 375
Left = 3360
TabIndex = 13
Top = 2880
Width = 1935
End
Begin VB.Label Line4Lbl
Alignment = 1 'Right Justify
Caption = "Usage:"
BeginProperty Font
Name = "Gill Sans MT"
Size = 11.25
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 375
Left = 120
TabIndex = 11
Top = 1200
Width = 2175
End
Begin VB.Label Label4
Alignment = 1 'Right Justify
Caption = "Action:"
BeginProperty Font
Name = "Gill Sans MT"
Size = 11.25
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 375
Left = 4680
TabIndex = 8
Top = 120
Width = 1575
End
Begin VB.Label Line2Lbl
Alignment = 1 'Right Justify
Caption = "Item Group:"
BeginProperty Font
Name = "Gill Sans MT"
Size = 11.25
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 375
Left = 120
TabIndex = 6
Top = 480
Width = 2175
End
Begin VB.Label Line1Lbl
Alignment = 1 'Right Justify
Caption = "Item Number:"
BeginProperty Font
Name = "Gill Sans MT"
Size = 11.25
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 375
Left = 120
TabIndex = 5
Top = 120
Width = 2175
End
Begin VB.Label Label2
Alignment = 1 'Right Justify
Caption = "Comments:"
BeginProperty Font
Name = "Gill Sans MT"
Size = 11.25
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 375
Left = -240
TabIndex = 4
Top = 1560
Width = 2535
End
Begin VB.Label Line3Lbl
Alignment = 1 'Right Justify
Caption = "Manufacturer:"
BeginProperty Font
Name = "Gill Sans MT"
Size = 11.25
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 375
Left = 120
TabIndex = 3
Top = 840
Width = 2175
End
End
Attribute VB_Name = "ActionDetails"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Const GWL_HWNDPARENT = (-8)
Private Declare Function SetWindowLong Lib "user32" _
Alias "SetWindowLongA" _
(ByVal hwnd As Long, ByVal nIndex As Long, _
ByVal wNewLong As Long) As Long
Private hParentWnd As Long
Private Sub Command1_Click()
UpdateActionItems
Me.Hide
End Sub
Private Sub Command2_Click()
Me.Hide
End Sub
Private Sub Form_Load()
hParentWnd = SetWindowLong(Me.hwnd, GWL_HWNDPARENT, MDIForm1.hwnd)
End Sub
Private Sub Form_Unload(Cancel As Integer)
Call SetWindowLong(Me.hwnd, GWL_HWNDPARENT, hParentWnd)
End Sub