Delphi FMX TTreeViewItem with renaming option
Screen.Recording.2023-07-21.at.20.54.50-3.mp4
- Add the "FMX.TreeView.Item.pas" file to your project and to the end of the uses section in your Form unit.
- Load the "treeviewitemrename.style" file to your form.
- Apply the "treeviewitemrenamestyle" StyleLookup to the TTrewViewItem you want to enable the renaming option.
- Use the "IsRenamable" property to enable or disable the renaming option.
- Listen to the "OnRename" event to accept and/or adjust new names.