ShellBrowser Delphi Components Documentation
|
Prepares a new file name before renaming a file, so the file name can be used correctly for renaming.
class function PrepareForRename(const pOldName: UnicodeString; const pNewName: UnicodeString; const pControl: TWinControl): UnicodeString;
Parameters |
Description |
const pOldName: UnicodeString |
The old name of the file. |
const pNewName: UnicodeString |
The new file name. |
const pControl: TWinControl |
The control (ShellList or ShellTree) in which renaming is done. |
UnicodeString: The prepared new file name to be used for renaming.