*** Make sure the native VFP behavior happens first EditBox::GotFocus() *** Your custom code here *** Suppress native VFP behavior here NODEFAULTNow, if there is code in the instance, you can just make sure that you issue a DODEFAULT() at the beginning and a NODEFAULT after your custom code.