Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

OnStart event

Project: Console Application Runner Classes

Unit: PJConsoleApp

Classes: TPJCustomConsoleApp, TPJConsoleApp

Applies to: ~>3.0

property OnStart: TNotifyEvent;


This event is triggered after console application process is created, just before it starts executing. It is always called before the first OnWork event.

Handle this event to take any necessary action before the application starts executing. ProcessInfo is available when this event is triggered, so you will typically handle the event if you need access to process information at this stage.


The event is public in TPJConsoleApp and protected in TPJCustomConsoleApp.