Hello all. In pose, my application usually chugs along happily
until, eventually, a form with a text field that I handle comes along
and a nasty gremlin gives it a special character (downArrowChr,
upArrowChr, etc.). At that point, I am told that I have read from
low memory and that I'm a paperclip head. Why does this happen? The
extent of my key handling is listing below:
case keyDownEvent:
switch(e->data.keyDown.chr) {
case nextFieldChr:
next_field(kDown);
handled = true;
break;
case prevFieldChr:
next_field(kUp);
handled = true;
break;
}
break;
Should I handle the case of those special chars and just throw
them away? Or is there an elegant way to handle this? Thanks.
--frank