|
|
|
| dcShellProperties component.
|
| type
|
| TdcContextMenuEvent = procedure(Sender: TObject; FileName: String) of object;
|
|
|
| property OnRename: TdcContextMenuEvent;
|
| The OnRename event occurs when user selects the "Rename" item in the context menu. The FileName parameter determines the file name which should be renamed.
|
|
|
|
|
| Shell objects could not be renamed automatically. You must write the event handler to perform this operation.
|
| procedure TForm1.dcShellPropertiesRename(Sender: TObject; FileName: String);
|
| begin
|
| if ListView1.Selected <> nil then
|
| ListView1.Selected.EditCaption;
|
| end;
|
| MenuOptions property; OnDelete event;
|
| ShowContextMenu and ShowContextMenuByFile methods.
|