"MethodCode": "Private Sub cmdCancel_Click()\r\n PressedOK = False\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 2,
"Parent": 3,
"Name": "cmdOK_Click",
"Comment": "Part of collection 'Collection One'",
"MethodCode": "Private Sub cmdOK_Click()\r\n PressedOK = True\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 3,
"Parent": 7,
"Name": "cmdOK_Click",
"Comment": "captured 5/24/95",
"MethodCode": "Private Sub cmdOK_Click()\r\n PressedOK = True\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 4,
"Parent": 8,
"Name": "cmdCancel_Click",
"Comment": "captured 5/24/95",
"MethodCode": "Private Sub cmdCancel_Click()\r\n PressedOK = False\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 5,
"Parent": 15,
"Name": "cmdCancel_Click",
"Comment": "captured 5/24/95",
"MethodCode": "Private Sub cmdCancel_Click()\r\n PressedOK = False\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 7,
"Parent": 27,
"Name": "cmdOK_Click",
"Comment": "member of collection 'Mega Collection'",
"MethodCode": "Private Sub cmdOK_Click()\r\n PressedOK = True\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 8,
"Parent": 28,
"Name": "cmdCancel_Click",
"Comment": "member of collection 'Mega Collection'",
"MethodCode": "Private Sub cmdCancel_Click()\r\n PressedOK = False\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 9,
"Parent": 30,
"Name": "cmdCancel_Click",
"Comment": "member of collection 'Mega Collection'",
"MethodCode": "Private Sub cmdCancel_Click()\r\n PressedOK = False\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 10,
"Parent": 31,
"Name": "cmdOK_Click",
"Comment": "member of collection 'Mega Collection'",
"MethodCode": "Private Sub cmdOK_Click()\r\n PressedOK = True\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 11,
"Parent": 35,
"Name": "cmdCancel_Click",
"Comment": "member of collection 'Mega Collection'",
"MethodCode": "Private Sub cmdCancel_Click()\r\n PressedOK = False\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 12,
"Parent": 36,
"Name": "cmdOK_Click",
"Comment": "member of collection 'Mega Collection'",
"MethodCode": "Private Sub cmdOK_Click()\r\n PressedOK = True\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 13,
"Parent": 38,
"Name": "cmdCancel_Click",
"Comment": "member of collection 'Dave Collection'",
"MethodCode": "Private Sub cmdCancel_Click()\r\n PressedOK = False\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 14,
"Parent": 39,
"Name": "cmdOK_Click",
"Comment": "member of collection 'Dave Collection'",
"MethodCode": "Private Sub cmdOK_Click()\r\n PressedOK = True\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 15,
"Parent": 43,
"Name": "cmdOK_Click",
"Comment": "member of collection 'Dave Collection'",
"MethodCode": "Private Sub cmdOK_Click()\r\n PressedOK = True\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 16,
"Parent": 44,
"Name": "cmdCancel_Click",
"Comment": "member of collection 'cmdCancel'",
"MethodCode": "Private Sub cmdCancel_Click()\r\n PressedOK = False\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 17,
"Parent": 45,
"Name": "cmdOK_Click",
"Comment": "member of collection 'cmdCancel'",
"MethodCode": "Private Sub cmdOK_Click()\r\n PressedOK = True\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 18,
"Parent": 46,
"Name": "txtSearch_Change",
"Comment": "member of collection 'New Collection'",
"MethodCode": "Private Sub txtSearch_Change()\r\n Dim Index As Integer\r\n \r\n Index = ListFindString(txtSearch.Text, lstPick)\r\n cmdOK.Enabled = (Index >= 0 And Len(txtSearch) > 0)\r\n\r\nEnd Sub"
},
{
"ID": 19,
"Parent": 46,
"Name": "txtSearch_KeyDown",
"Comment": "member of collection 'New Collection'",
"MethodCode": "Private Sub txtSearch_KeyDown(KeyCode As Integer, Shift As Integer)\r\n Dim Index As Integer\r\n\r\n '-------------------------------------------------------------------\r\n 'if the user presses an arrow while in the search TextBox, switch\r\n 'them to the list so they can continue selecting with arrow keys.\r\n '-------------------------------------------------------------------\r\n Select Case KeyCode\r\n Case vbKeyUp\r\n Index = lstPick.ListIndex - 1\r\n If (Index > 0) Then lstPick.ListIndex = Index\r\n Case vbKeyDown\r\n Index = lstPick.ListIndex + 1\r\n If (Index < lstPick.ListCount - 1) Then lstPick.ListIndex = Index\r\n Case Else\r\n Exit Sub\r\n End Select\r\n \r\n lstPick.SetFocus\r\n\r\nEnd Sub"
},
{
"ID": 20,
"Parent": 48,
"Name": "cmdOK_Click",
"Comment": "member of collection 'New Collection'",
"Comment": "member of collection 'New Collection'",
"MethodCode": "Private Sub lstPick_Click()\r\n \r\n 'if something was selected in the list show it also in the search box --\r\n txtSearch.Text = lstPick.List(lstPick.ListIndex)\r\n cmdOK.Enabled = True\r\n\r\nEnd Sub"
},
{
"ID": 23,
"Parent": 50,
"Name": "lstPick_DblClick",
"Comment": "member of collection 'New Collection'",
"MethodCode": "Private Sub lstPick_DblClick()\r\n \r\n cmdOK_Click\r\n\r\nEnd Sub"
},
{
"ID": 24,
"Parent": 54,
"Name": "cmdCancel_Click",
"Comment": "member of collection 'aaaa'",
"MethodCode": "Private Sub cmdCancel_Click()\r\n PressedOK = False\r\n Unload Me\r\nEnd Sub"
},
{
"ID": 25,
"Parent": 55,
"Name": "cmdOK_Click",
"Comment": "member of collection 'aaaa'",
"MethodCode": "Private Sub cmdOK_Click()\r\n PressedOK = True\r\n Unload Me\r\nEnd Sub"