Has anyone successfully implemented an inline node editor for VirtualStringTree?
The built-in editor works, but is simply unacceptable, especially the Cursor-up, cursor-down and TAB key functionality when exiting edit mode. One expects the cursor to proceed to the next editable cell, insted, the cursor keys move the text cursor within the cell (like Cursor-Left and Cursor-Right), and TAB produces a weird Windows alarm gong, and proceeds to the next row, Shift-Tab does nothing useful at all. That's absolutely weird navigation for a production environment, at least on Windows, I cannot sell this to any user in 2021.
The code in the "Advanced" "Tree in Grid" demo is only a bit better, cursor keys are handled properly, but the TAB key isn't, it takes hitting the Tab key three (!) times until the focus moves on to the next editable cell.
I found an editor add-in here (
https://www.lazarusforum.de/viewtopic.php?t=8317) where a smart and diligent guy wrote 300+ lines of code to circumvent exactly this, but unfortunately in vain, the code he wrote will SIGSEV on cell exit deep within the bowels of TVirtualStringTree. At first it loked like a manageable problem, easy to fix, but after almost a week (!) trying I need to give up, the source of the problem is too deeply hidden within the approx. 30.000 (!) lines of code which mahe the VirtualTreeView component for me to find.
Did anyone succeed to write a better editor, or manage to fix and use the TVEditor from the above forum?
Thanks, Armin.