>what I usually do is
>DO CASE
> CASE nKeyCode=
> nNewkeyCode=new_value
> Textbox::KeyPress(nNewKeyCode,nShiftAltCtrl) && or any other
>control
> NODEFAULT
>.
>.
>ENDCASE
Nice peice of code, but my only complaint is that when you get into this type of object oriented answers you need about 4 lines of code explaining to novices (like myself) what exactly happened. Sometimes visual may be object oriented, but it is not easy to follow.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope