Recent

Author Topic: Virtual tree node not getting focus  (Read 1631 times)

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 586
    • Double Dummy Solver - free download
Virtual tree node not getting focus
« on: June 17, 2021, 08:54:25 pm »
I've tried to duplicate the example given at https://wiki.freepascal.org/VirtualTreeview_Example_for_Lazarus making slight modifications for a virtualDrawTree instead of a VirtualStringTree.  I've included an onDrawNode event which works fine. I can add Root nodes but I am unable to select a node - and therefore can't add a Child node, etc.

I've done this three times, making sure to have the appropriate tree options selected. Any idea what would prevent selection of a node upon clicking it?
Lazarus 3.0RC2, FPC 3.2.2 x86_64-win64-win32/win64

 

TinyPortal © 2005-2018