Type | Description | |||
CommandName as String | A String expression that indicates the name of the command being executed. |
Here's the list of the identifiers for some known items in the object's context menu :
The following VB sample displays the object's Properties dialog, when the user presses the F2 key:
Private Sub ExShellView1_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyF2 Then ExShellView1.Objects.Get (SelectedItems) With ExShellView1.Objects If (.Count > 0) Then .Item(0).InvokeCommand ("Properties") End If End With End If End Sub