GeekArticles
Programming
Delphi
Programming
DelphiImplementing the OnBeforeCreate and OnAfterCreate Events for Delphi Forms
in <a Forms</i></a> :: <a /></a> The OnCreate event is called when the form is created. Usually, you would write an OnCreate event handler to perform special processing when the form is created - such as setting any startup information (initial control property values, for example) for form operation.
<p>If you are using visual form inheritance to have forms that inherit from some forms, you might need to execute custom code for each inherited form. What if you need to put some common code in the TBaseForm implementation that needs to be executed when all the code in the OnCreate event handlers is executed? </p>
<p>Read the <b>full article</b> to learn how to <b><a DoCreate to Implement OnAfterCreate / OnBeforeCreate</a></b>
<p><b>Related:</b>
<ul Form Inheritance</a></li>
<li><a Custom Properties to Delphi Forms; Overriding the Create Constructor</a></li>
<li><a the Birth, Life and Death of a Delphi Form</a></li>
</ul><p 1px solid the OnBeforeCreate and OnAfterCreate Events for Delphi Forms</a> originally appeared on <a Delphi Programming</a> on Tuesday, November 17th, 2009 at 06:01:19.</p><p><a | <a | <a the OnBeforeCreate and OnAfterCreate Events for Delphi this</a></p>
Sponsored Links
Related Topics
Subscribe via RSS
Delphi
- A load of ASP.NET related tutorials, articles, tips and tricks!
- How to move PageControl's tabs using drag'n'drop
- Charts in database applications
- Creating Components Dynamically (at Run-Time)
- The role of the "AOwner" parameter in the Create constructor
- Creating a roll up form (with animation)
- Poll: Do you already have some experience with Delphi?
- Creating a database from Delphi code
- TMemoBar - T(Custom)Memo extender
- How to click-and-select a line in TMemo
