Any idea why the Enter key isn't trapped inside oTree:bKeyDown?
Code: Select all
oTree:bKeyDown := {|nKey,nFlags| ;
if( nKey == VK_RETURN, msginfo("never happens"), ;
if( nKey == VK_SPACE, msginfo("space bar"), nil ) ) }
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!