FYI, the TTreeView in LCL is custom drawn. It does not map to a native
widget unlike LCL controls typically do.
There are empty classes TWSCustomTreeView and TWSTreeView and I guess you
can derive from them as Dmitry explained.
Replacing the current TTreeView in LCL is not realistic though.
Juha
-
Dmitry,
Thanks for the write-up, that's what I thought was going on, and details
like the "inherited" call were what I was worried about. :)
Now that I've had a chance to shake out the design, I do see a patch I
could pull together if you think it would be merged. General details are:
1) A
Juha,
On 11/11/20 3:48 AM, Juha Manninen via lazarus wrote:
FYI, the TTreeView in LCL is custom drawn. It does not map to a native
widget unlike LCL controls typically do.
See my reply to Dmitry for the details, but the short answer is that I
already have everything working. It's just all in
On Wed, Nov 11, 2020 at 3:31 PM Zoë Peterson via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Personally I need the new behavior for any TCustomControl descendant, so
> I'd put most of the code in TCocoaWSCustomControl, but we have our own
> TUiTreeView/TUiCustomControl classes already, so I