[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TMessageBoxFunction

The type used for the MessageBox variable.

Declaration

Source position: forms.pp line 1894

type TMessageBoxFunction = function(

  Text: PChar;

  Caption: PChar;

  Flags: LongInt

):Integer;

Description

TMessageBoxFunction is an Integer function type which specifies the routine used to perform a message box or dialog.

Arguments passed to the function identify the content for the message dialog, including:

The return value contains the modal result returned from the message dialog.

See also

MessageBoxFunction

  

Provides the routine used to display a message dialog in widgetset implementations.