Any idea why the Enter key isn't trapped inside oTree:bKeyDown?
- Code: Select all Expand view
oTree:bKeyDown := {|nKey,nFlags| ;
if( nKey == VK_RETURN, msginfo("never happens"), ;
if( nKey == VK_SPACE, msginfo("space bar"), nil ) ) }
I can handle VK_INSERT, VK_DELETE and others, but VK_RETURN never
gets passed down to ::bKeyDown by the TTreeView class.
I just noticed that TTreeView:HandleEvent() has code pertaining VK_RETURN. I commented it out, but it makes no difference.... the Enter key doesn't get processed
Thanks!