>>>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
YYEEEEESSSS!!!!
Scope Resolution Operator huh, that one blew right by me. I bow my humble head to the VFP GOM (Geek of the month). What else would you expect from the UT'er nominated for coolest name? Code changed.
Many Thanks,
Mike
Michael McLain