[wxPython] This is wierd.

I've got two TextCtrl devices in my interface, one single and one multi
line. For some bizarre reason, I can't enter a capital "A" in either, but
as you see, the cap-"A" works just fine elsewhere.

Any ideas? I haven't defined any accelerators at this point...

// Jeff Grimmett
// http://www.livejournal.com/users/grimmtooth/
  `--------------------------------------------'

From: wxpython-users-admin@lists.wxwindows.org
[mailto:wxpython-users-admin@lists.wxwindows.org]On Behalf Of Grimmtooth
Sent: Monday, May 27, 2002 4:48 PM
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython] This is wierd.

I've got two TextCtrl devices in my interface, one single and one multi
line. For some bizarre reason, I can't enter a capital "A" in either, but
as you see, the cap-"A" works just fine elsewhere.

I commented out one line of code and viola! Cap-A works again. I had created
a menu item that has Ctl-A as a shortcut. First of all, I wasn't aware that
just 'showing' them in the menu automatically generated a shortcut. So I
don't have to create accelerators, that's cool. I'm *guessing* that I have
somehow improperly created that shortcut in the menu and wx is interpreting
it as Shift-A instead. I'll do some more reading and figure it out. False
alarm, everybody :slight_smile:

a menu item that has Ctl-A as a shortcut. First of all, I wasn't
aware that
just 'showing' them in the menu automatically generated a shortcut. So I
don't have to create accelerators, that's cool. I'm *guessing* that I have
somehow improperly created that shortcut in the menu and wx is
interpreting
it as Shift-A instead. I'll do some more reading and figure it out. False
alarm, everybody :slight_smile:

Okay, it has to be CTRL-A to be interpreted as 'control-A'. Mis-spelling it
CTL-A makes wx think that I meant 'shift-A'. That's ... a little
unexpected, but at least I understand to avoid it now :slight_smile: