MyForm.OnLoad() vs MyForm_Load()

  • Thread starter Thread starter John A Grandy
  • Start date Start date
J

John A Grandy

What is the difference between overriding MyForm.OnLoad and writing a
MyForm_Load event handler ?
 
What is the difference between overriding MyForm.OnLoad and writing a
MyForm_Load event handler ?

Subscribing to the event adds a little overhead (allocation of some
memory and processing the list of event handlers).

Overriding OnXXX allows you to inhibit the calling of the event
handlers.

Most articles I have read recommend overriding the OnXXX routines.
 
Back
Top