Recent

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

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 502
    • 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?
Win10 64-bit / Lazarus 32-bit 2.0.12 / FPC 3.2.0

 

TinyPortal © 2005-2018