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.

CreateDialog method

Project: Message Dialogue Components.

Unit: PJMessageDialog.

Class: TPJVCLMsgDlg

Applies to: ~>3.0

function CreateDialog: TForm;

Description

The CreateDialog method creates an instance of a dialogue box and returns it. This instance is customised according to the component’s properties. However, no sound is played by this method regardless of the state of the MakeSound property.

Note that the method’s caller is responsible for showing and freeing dialogue box instances created by this method.