The code in the base class method/event will only be executed if you do not override it
>I have question about KeyPress event.
>I have base class stdtxt and i created many text boxes based on this class and all text boxes objects have inputmask like !!!!!!!!!!!!
>But customer complained that if user accidantely press control+B or O (or maybe othercontrol combination) some garbage characters are inserted into those textboxes
>I know that i can modify each of those textboxes inserting NODEFAULT : IF nKeyCode less than 32
> NODEFAULT
>ENDIF
>. But i tried to do it in the base class to avoid making changes in all textboxes but it did not work.
>Also i did like this in base class : if nKeyCode less than 32 nKeyCode = 32 endif , But it also did not work
>object receive nKeyCode like 17 or 16.
>What else i can do in base class to solve this.
>thanks.
--sb--