backanim

  JR-FileViewer
Properties   Methods Events
   

jrsoftlogo

AllowItemRenaming

  Description:

Gets/Sets whether ListItems can be renamed

         

  ico_syntax Syntax:

FileViewer1.AllowItemRenaming [ = boolean]

       

  ico_weitere Remarks:


If this property is set to True, then items can be renamed directly in the FileList.

You can still rename the item programmatically; for example by using the ExecuteShellCommand method of ListItem.

Renaming an item within FileViewer permanently renames the actual file or folder.

  ico_einstellungen Example:

       

    FileV1.FileCommand.RenameSelectedFiles (FilesAndFolders)

    'you can use the ExecuteShellCommand for the listitem too

    'filev1.ListItem(filev1.FirstSelectedItem.Key).ExecuteShellCommand (IcRename ,newname)