[This is preliminary documentation and is subject to change.]

Display modal message box with formated promt, given title, owner, buttons, one of predefined icons

Namespace: Tools.WindowsT.IndependentT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public static DialogResult ModalF_PTWBIa(
	string prompt,
	string title,
	Object owner,
	MessageBox..::..MessageBoxButton..::..Buttons buttons,
	MessageBox..::..MessageBoxIcons icon,
	params Object[] arguments
)
Visual Basic
Public Shared Function ModalF_PTWBIa ( _
	prompt As String, _
	title As String, _
	owner As Object, _
	buttons As MessageBox..::..MessageBoxButton..::..Buttons, _
	icon As MessageBox..::..MessageBoxIcons, _
	ParamArray arguments As Object() _
) As DialogResult
Visual C++
public:
static DialogResult ModalF_PTWBIa(
	String^ prompt, 
	String^ title, 
	Object^ owner, 
	MessageBox..::..MessageBoxButton..::..Buttons buttons, 
	MessageBox..::..MessageBoxIcons icon, 
	... array<Object^>^ arguments
)
F#
static member ModalF_PTWBIa : 
        prompt:string * 
        title:string * 
        owner:Object * 
        buttons:MessageBox..::..MessageBoxButton..::..Buttons * 
        icon:MessageBox..::..MessageBoxIcons * 
        arguments:Object[] -> DialogResult 
JScript
public static function ModalF_PTWBIa(
	prompt : String, 
	title : String, 
	owner : Object, 
	buttons : MessageBox..::..MessageBoxButton..::..Buttons, 
	icon : MessageBox..::..MessageBoxIcons, 
	... arguments : Object[]
) : DialogResult

Parameters

prompt
Type: System..::..String
Format string for promt to be shown to user
title
Type: System..::..String
Message box title
owner
Type: System..::..Object
The window message box window will be modal to (can be null). Typical values are IWin32Window and Window If implementation does not recognize type of owner it ignores it.
buttons
Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxButton..::..Buttons
Defines which buttons will be available to user
icon
Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxIcons
Icon that will be shown on messagebox.
arguments
Type: array<System..::..Object>[]()[][]
Formating arguments for prompt. Arguments are placed in place of placeholders in Prompt using the String function.

Return Value

Indicates button clicked by user

See Also

Collapse/expand Version History

1.5.3

  • (Beta) This overload is new in bersion 1.5.3