method Editor.DropDown ()
Displays the drop down list.

TypeDescription
The DropDown method shows the drop down portion of the editor. The method has effect for editors like: DropDownType, DropDownListType, PickEditType, and CheckListType.

The following VB sample shows the drop down portion of the current editor if the user releases the F2 key:

Private Sub Record1_KeyUp(KeyCode As Integer, Shift As Integer)
    If (KeyCode = vbKeyF2) Then
        With Record1
            If Not .Focus Is Nothing Then
                .Focus.DropDown
            End If
        End With
    End If
End Sub

The following VC sample shows the drop down portion of the current editor if the user releases the F2 key:

void OnKeyUpRecord1(short FAR* KeyCode, short Shift) 
{
	if ( *KeyCode == VK_F2 )
	{
		CEditor editor = m_record.GetFocus();
		editor.DropDown();
	}
}