Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lmbelo/treeviewitemrenamable

Delphi FMX TTreeViewItem with renaming option
https://github.com/lmbelo/treeviewitemrenamable

delphi fmx treeview

Last synced: 8 days ago
JSON representation

Delphi FMX TTreeViewItem with renaming option

Awesome Lists containing this project

README

        

# TreeViewItemRenamable
Delphi FMX TTreeViewItem with renaming option

https://github.com/lmbelo/TreeViewItemRenamable/assets/8376898/8a75a16a-0823-4168-9540-e56876d83918

## Usage

1) Add the "FMX.TreeView.Item.pas" file to your project and to the end of the uses section in your Form unit.
2) Load the "treeviewitemrename.style" file to your form.
3) Apply the "treeviewitemrenamestyle" StyleLookup to the TTrewViewItem you want to enable the renaming option.
4) Use the "IsRenamable" property to enable or disable the renaming option.
5) Listen to the "OnRename" event to accept and/or adjust new names.