Sorry to be hitting the group so hard lately, but I'm going to do it anyway.
I have a TreeCtrl where I want "shift + up arrow" to go to the parent node.
I have bound wx.EVT_TREE_KEY_DOWN and can fire on" shift + up arrow".
The problem is the inherent up arrow code always seems to fire first. In other words, my code
fires after the vanilla "up arrow" code fires. so that when I type "shift + up arrow",
I frequently end up, two levels up. I have tried putting Skip() and Veto(), in various places,
just to cover my bases, but nothing seems to work. What am I missing?
Sorry to be hitting the group so hard lately, but I'm going to do it anyway.
I have a TreeCtrl where I want "shift + up arrow" to go to the parent node.
I have bound wx.EVT_TREE_KEY_DOWN and can fire on" shift + up arrow".
The problem is the inherent up arrow code always seems to fire first. In other words, my code
fires after the vanilla "up arrow" code fires. so that when I type "shift + up arrow",
I frequently end up, two levels up. I have tried putting Skip() and Veto(), in various places,
just to cover my bases, but nothing seems to work. What am I missing?
Try EVT_KEY_DOWN instead.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Howdy,
Sorry to be hitting the group so hard lately, but I'm going to do it anyway.
I have a TreeCtrl where I want "shift + up arrow" to go to the parent node.
I have bound wx.EVT_TREE_KEY_DOWN and can fire on" shift + up arrow".
The problem is the inherent up arrow code always seems to fire first. In other words, my code
fires after the vanilla "up arrow" code fires. so that when I type "shift + up arrow",
I frequently end up, two levels up. I have tried putting Skip() and Veto(), in various places,
just to cover my bases, but nothing seems to work. What am I missing?
Try EVT_KEY_DOWN instead.
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org