Wisej.Web.VisualBasic.Interaction
Namespace: Wisej.Web.VisualBasic
Assembly: Wisej.Framework (3.1.0.0)
Replaces the visual methods in Microsoft.VisualBasic.Interaction.
In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Sounds a tone through the computer's speaker.
Parameter | Type | Description |
---|---|---|
Displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box.
Parameter | Type | Description |
---|---|---|
Returns: String. The contents of the text box.
Asynchronous displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box.
Returns: Task<String>. The contents of the text box.
Displays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked.
Returns: MsgBoxResult. One of MsgBoxResult.
Asynchronously displays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked.
Returns: Task<MsgBoxResult>. One of MsgBoxResult.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Target
Context object that initiated this call.
Prompt
Required String expression displayed as the message in the dialog box.
Title
Optional. String expression displayed in the title bar of the dialog box. If you omit Title , the application name is placed in the title bar.
DefaultResponse
Optional. String expression displayed in the text box as the default response if no other input is provided. If you omit DefaultResponse , the displayed text box is empty.
XPos
Optional. Numeric expression that specifies, in pixels, the distance of the left edge of the dialog box from the left edge of the screen. If you omit XPos , the dialog box is centered horizontally.
YPos
Optional. Numeric expression that specifies, in pixels, the distance of the upper edge of the dialog box from the top of the screen. If you omit YPos , the dialog box is centered vertically.
Target
Context object that initiated this call.
Prompt
Required. String expression displayed as the message in the dialog box.
Buttons
Optional. Numeric expression that is the sum of values specifying the number and type of buttons to display, the icon style to use, the identity of the default button, and the modality of the message box. If you omit Buttons , the default value is zero.
Title
Optional. String expression displayed in the title bar of the dialog box. If you omit Title , the application name is placed in the title bar.
CloseCallback
Optional. Asynchronous callback.
Target
Context object that initiated this call.
Prompt
Required. String expression displayed as the message in the dialog box.
Buttons
Optional. Numeric expression that is the sum of values specifying the number and type of buttons to display, the icon style to use, the identity of the default button, and the modality of the message box. If you omit Buttons , the default value is zero.
Title
Optional. String expression displayed in the title bar of the dialog box. If you omit Title , the application name is placed in the title bar.
Target
Context object that initiated this call.
AudioBase64
Optional. Custom audio stream. If omitted the default beep wav is played.
Target
Context object that initiated this call.
Prompt
Required String expression displayed as the message in the dialog box.
Title
Optional. String expression displayed in the title bar of the dialog box. If you omit Title , the application name is placed in the title bar.
DefaultResponse
Optional. String expression displayed in the text box as the default response if no other input is provided. If you omit DefaultResponse , the displayed text box is empty.
XPos
Optional. Numeric expression that specifies, in pixels, the distance of the left edge of the dialog box from the left edge of the screen. If you omit XPos , the dialog box is centered horizontally.
YPos
Optional. Numeric expression that specifies, in pixels, the distance of the upper edge of the dialog box from the top of the screen. If you omit YPos , the dialog box is centered vertically.
CloseCallback
Optional. Asynchronous callback.