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.

MakeSound property

Project: Message Dialogue Components.

Unit: PJMessageDialog.

Class: TPJWinMsgDlg

Applies to: ~>3.0

property MakeSound: Boolean;

Description

Set MakeSound to True to play a sound when the dialogue is displayed. If MakeSound is False then no sound is played.

The sound played is one of the standard system sounds. Which sound is used depends on the value of the Kind property, the operating system version and the chosen sound theme. Some themes will play no sound for some values of the Kind property regardless of the value assigned to MakeSound.

The property’s default value is False.