Need ascii for alt-x for remap KeyPress in vb.net
Posted on 2004-04-15
Does anybody have a web link for alt ascii characters for the purposes of remapping keypressed.
I am trying to re-map the enter key into an alt-x, so that when the user presses enter key after entering information into a text box in control xyz on form abc, the real key that gets pressed is alt-x. Alt-x will cause a different button on the form to run its click method. I can't call MyButtonOnFormABC.Click within control xyz (I already thought about that) because as far as the control xyz is concerned, it has no knowledge about what other controls are on the form. I could raise an event, but I'd rather just map enter key into an alt-x. That sounds the easiest...