How to trigger all onChange events of all TMemo components in a form

You need to check if an event handler is assigned before calling it :

if Assigned(m.OnChange) then
  m.OnChange(m);