OnUpdate gives you limited customisation. But AFAIK it does not let you redfine the action for specific controls, so that (say) Ctrl-A has different effects in Memo1 and Memo2. Disabling Ctrl-A for Memo2 is rather different from giving Ctrl-A a new effect in Memo2 compared to Memo1.