[This is preliminary documentation and is subject to change.]
Displays modal message box with given prompt, tile and options. Optinally also buttons and icon.
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public static DialogResult Modal_PTOBIS( string Prompt, string Title, MessageBox..::..MessageBoxOptions Options, MessageBox..::..MessageBoxButton..::..Buttons Buttons, MessageBox..::..MessageBoxIcons Icon, Sound Sound ) |
| Visual Basic |
|---|
Public Shared Function Modal_PTOBIS ( _ Prompt As String, _ Title As String, _ Options As MessageBox..::..MessageBoxOptions, _ Buttons As MessageBox..::..MessageBoxButton..::..Buttons, _ Icon As MessageBox..::..MessageBoxIcons, _ Sound As Sound _ ) As DialogResult |
| Visual C++ |
|---|
public: static DialogResult Modal_PTOBIS( String^ Prompt, String^ Title, MessageBox..::..MessageBoxOptions Options, MessageBox..::..MessageBoxButton..::..Buttons Buttons, MessageBox..::..MessageBoxIcons Icon, Sound^ Sound ) |
| F# |
|---|
static member Modal_PTOBIS : Prompt:string * Title:string * Options:MessageBox..::..MessageBoxOptions * Buttons:MessageBox..::..MessageBoxButton..::..Buttons * Icon:MessageBox..::..MessageBoxIcons * Sound:Sound -> DialogResult |
| JScript |
|---|
public static function Modal_PTOBIS( Prompt : String, Title : String, Options : MessageBox..::..MessageBoxOptions, Buttons : MessageBox..::..MessageBoxButton..::..Buttons, Icon : MessageBox..::..MessageBoxIcons, Sound : Sound ) : DialogResult |
Parameters
- Prompt
- Type: System..::..String
Prompt to be shown
- Title
- Type: System..::..String
Message box title
- Options
- Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxOptions
Options that controls messagebox layout and behaviour
- Buttons
- Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxButton..::..Buttons
Defines which buttons will be available to user
- Icon
- Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxIcons
Defines one of predefined icons to show to user. Actual image is obtained via GetIconDelegate
- Sound
- Type: Tools.MediaT..::..Sound
Sound to be played when message box is shown. If null, it is chosen automatically.
Return Value
[Missing <returns> documentation for "M:Tools.WindowsT.IndependentT.MessageBox.Modal_PTOBIS(System.String,System.String,Tools.WindowsT.IndependentT.MessageBox.MessageBoxOptions,Tools.WindowsT.IndependentT.MessageBox.MessageBoxButton.Buttons,Tools.WindowsT.IndependentT.MessageBox.MessageBoxIcons,Tools.MediaT.Sound)"]