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.

OnInitialise event

Project: Shell Folders Unit.

Unit: PJShellFolders.

Class: TPJBrowseDialog

Applies to: ~>2.0

property OnInitialise: TNotifyEvent;


OnInitialise occurs when the dialog initialises.

This event is triggered after the dialog has opened and the default folder has been selected but before the dialog is displayed. Because of this the OnSelChange and OnSelChangeEx events will usually fire before OnInitialise. The dialog’s window handle is available via the Handle property.

Write an OnInitialise event handler to perform special processing when the dialog is intialised.