[wxruby-users] StyledTextCtrl not receiving all entered keys
Robin Rogge
lists at ruby-forum.com
Tue Dec 16 08:52:29 EST 2008
Hi Alex,
Alex Fenton wrote:
> I don't believe there is a problem with subclasses of StyledTextCtrl. If
> you put your subclass in the wxRuby demo it still works fine, and I've
> used complex subclasses of STC in real code without difficulty.
>
> So there is something else wrong in your program. Happy to try out a
> minimal runnable sample that demonstrates the issue - you may find that
> selectively removing elements from the frame may identify the source of
> the difficulty. My guess would be that some other widget (eg a Frame) or
> the App is being told to trap and not pass them on.
Damn ... it just had to be something really stupid. The "CTRL" in front
of some shortcuts for the dynamically created menu items in the menubar
was missing. I just removed them from the item generating method for now
and viola, StyledTextCtrl works. Thanks for your help :-)
Greetings from Hamburg / Germany
- rojaro -
--
Posted via http://www.ruby-forum.com/.
More information about the wxruby-users
mailing list