-
Notifications
You must be signed in to change notification settings - Fork 8
/
frmVariables.frm
95 lines (89 loc) · 3.1 KB
/
frmVariables.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
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form frmVariables
Caption = "Variables window"
ClientHeight = 4920
ClientLeft = 45
ClientTop = 330
ClientWidth = 7455
Icon = "frmVariables.frx":0000
LinkTopic = "Form1"
MDIChild = -1 'True
ScaleHeight = 4920
ScaleWidth = 7455
Begin MSComctlLib.ListView lsvVariables
Height = 4935
Left = 0
TabIndex = 0
Top = 0
Width = 7455
_ExtentX = 13150
_ExtentY = 8705
View = 3
LabelEdit = 1
Sorted = -1 'True
MultiSelect = -1 'True
LabelWrap = -1 'True
HideSelection = -1 'True
AllowReorder = -1 'True
FullRowSelect = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 4
BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628}
Text = "Name"
Object.Width = 3175
EndProperty
BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 1
Text = "Address"
Object.Width = 3175
EndProperty
BeginProperty ColumnHeader(3) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 2
Text = "Context"
Object.Width = 1411
EndProperty
BeginProperty ColumnHeader(4) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 3
Text = "Infection"
Object.Width = 1411
EndProperty
End
End
Attribute VB_Name = "frmVariables"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
If (UnloadMode = vbFormControlMenu) Then
Cancel = True
Me.Hide
End If
End Sub
Private Sub Form_Resize()
Call FormResizer(Me, Me.lsvVariables)
End Sub
Private Sub lsvVariables_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader)
Call ListViewSort(lsvVariables, ColumnHeader)
End Sub
Private Sub lsvVariables_DblClick()
If (lsvVariables.ListItems.Count) Then
Call SelectAddressInMetaCode(lsvVariables.SelectedItem.SubItems(1))
End If
End Sub
Private Sub lsvVariables_KeyUp(KeyCode As Integer, Shift As Integer)
If (lsvVariables.ListItems.Count) Then
Call SelectPointerInBar(GetAddressPosition(lsvVariables.SelectedItem.SubItems(1)))
End If
End Sub
Private Sub lsvVariables_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If (lsvVariables.ListItems.Count) Then
Call SelectPointerInBar(GetAddressPosition(lsvVariables.SelectedItem.SubItems(1)))
End If
End Sub