Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 915 Bytes

TPJCustomConsoleApp-OnStart.md

File metadata and controls

23 lines (13 loc) · 915 Bytes

OnStart event

Project: Console Application Runner Classes

Unit: PJConsoleApp

Classes: TPJCustomConsoleApp, TPJConsoleApp

Applies to: ~>3.0

property OnStart: TNotifyEvent;

Description

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.

Remarks

The event is public in TPJConsoleApp and protected in TPJCustomConsoleApp.