Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing KeyPress value
Message
From
21/08/1997 21:26:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00046080
Message ID:
00046330
Views:
25
>>Nodefault and stuffing the keyboard buffer works fine. Strange way to "eat >my sandwich" but it does the job. Looks like MS would have provided a way >to pass a different value back to the object directly from within the >keypress event. Many thanks for the help. > >Mike, > >If you must do it that way then here's an experiment to try, in the >Keypress; > > IF nKeyCode = > NODEFAULT > nKeyCode = ASC("") >ENDIF > what I usually do is DO CASE CASE nKeyCode= nNewkeyCode=new_value Textbox::KeyPress(nNewKeyCode,nShiftAltCtrl) && or any other control NODEFAULT . . ENDCASE
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform