Robert,
Interesting...I added another class layer and encountered the same problem as you.
2 options:
LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode >= 97 and nKeyCode <= 122
nKeyCode = nKeyCode - 32
nodefault
editbox::keypress(nKeyCode, nShiftAltCtrl)
endif
Or, in your parent class(es), add some code (all the way up the heirarchy):
LPARAMETERS nKeyCode, nShiftAltCtrl
nodefault
dodefault(nKeyCode, nShiftAltCtrl)
Option 1 is probably the route to go...
>Hi Steve,
>
>Using debug (Set Step ON) it executes each line as expected just does not echo the uppercase character back -- really weird.
>
>I walked the inheritance chain. There is no code in any KeyPress event or Interactive Change or Progammic Change event. Do you have code in your subclass of the editbox that may make it behave differently?
Steve Gibson