TClrMessageBox.Show(String,String,TMessageBoxButtons,TMessageBoxIcon,TMessageBoxDefaultButton,TMessageBoxOptions_Set,String,THelpNavigator,Olevariant) Method
Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file, HelpNavigator, and Help topic.
public class function Show(Text: String; Caption: String; Buttons: TMessageBoxButtons; Icon: TMessageBoxIcon; DefaultButton: TMessageBoxDefaultButton; Options: TMessageBoxOptions_Set; HelpFilePath: String; Navigator: THelpNavigator; Param: Olevariant): TDialogResult; overload; static;
Parameters
- Text
- Type: String
The text to display in the message box.
- Caption
- Type: String
The text to display in the title bar of the message box.
- Buttons
- Type: System.Void
One of the MessageBoxButtons values that specifies which buttons to display in the message box.
- Icon
- Type: System.Void
One of the MessageBoxIcon values that specifies which icon to display in the message box.
- DefaultButton
- Type: System.Void
One of the MessageBoxDefaultButton values that specifies the default button for the message box.
- Options
- Type: System.Void
One of the MessageBoxOptions values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults.
- HelpFilePath
- Type: String
The path and name of the Help file to display when the user clicks the Help button.
- Navigator
- Type: System.Void
One of the HelpNavigator values.
- Param
- Type: Olevariant
The numeric ID of the Help topic to display when the user clicks the Help button.