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.

OnHelp event

Project: Message Dialogue Components.

Unit: PJMessageDialog.

Class: TPJWinMsgDlg

Applies to: ~>3.0

property OnHelp: TNotifyEvent;

Description

The OnHelp event is triggered when the user requests help in a dialogue either by clicking a help button or by pressing F1. If OnHelp is handled then the component’s default help processing is inhibited - the event handler must display the required help.

This event is never triggered if the dialogue box does not display a help button. F1 keypresses are ignored when there is no help button.

Handle this event if you want to use an alternative help system to that registered with the Application object.