Hi,
I am trying to associate key events with a frame but it doesn't
seem to be working. I am doing this:
frame:Connect(ID_FRAME, wx.wxEVT_CHAR, CharKeyEvent)
and then I have
function CharKeyEvent(event)
print(Caught Keypress)
end
But I never key the Caught Keypress display. Is there
On Tue, Jun 19, 2012 at 2:11 PM, Milind Gupta milind.gu...@gmail.com wrote:
Hi,
I am trying to associate key events with a frame but it doesn't seem
to be working. I am doing this:
frame:Connect(ID_FRAME, wx.wxEVT_CHAR, CharKeyEvent)
You probably can't focus the frame if you have a
Thanks John for the quick reply. I changed the connect statement to :
frame:Connect(ID_FRAME, wx.wxEVT_CHAR_HOOK, CharKeyEvent)
That seems to be catching all keys except the alphabets and numbers. How do
I catch those? Also how do I catch key combinations like Ctrl-X?
Thanks,
Milind
On Tue,