Skip to content



Below is a list of the most important properties and methods for TMiletusMessageBox. This component allows to display a native message dialog.

Designtime Runtime

Properties for TMiletusMessageBox

Property Description
Buttons: TStringList Sets the buttons.
Caption: string Sets the caption of the message box.
DialogType Sets the type of the dialog.
NoLink: Boolean Tries to figure out the common buttons from the Buttons list (for example: "Yes", "Cancel"). The rest will be turned into command links.
Response: Integer Returns the index of the button that was clicked.
Text: string Sets the content of the dialog.
Title: string Sets the title of the dialog.
VerificationChecked: Boolean Sets and returns the checked status of the checkbox.
VerificationText: string Sets the checkbox text.

Methods for TMiletusMessageBox

Property Description
Execute(AProc: TMiletusMessageBoxProc = nil) Method to show the message dialog. The AProc parameter is a method pointer for a method that is optionally called if assigned when the dialog is closed. Any result from the dialog is available through the callback.
ExecuteSync Method to show the message dialog synchronously. Keep in mind that calling ExecuteSync will block the web application from further running until the dialog is closed.