General information
Category:
Coding, syntax & commands
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only