Type | Description |
The following VB sample starts renaming the selected object, 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).InvokeRename End If End With End If End Sub