Tech Tutorials Database
GeekArticles Programming Delphi
 

Implementing the OnBeforeCreate and OnAfterCreate Events for Delphi Forms

 
Author: delphi.about.com
Category: Delphi
Comments (0)

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>

Read More...




Sponsored Links




Read Next: Count MDI Children By Their Class Name in Delphi MDI Applications



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe