Metodo QsUIShowInputBox(String, String, String, InputBoxValidatingHandler)
|
Displays a prompt in a dialog box, waits for the user to input text or click a button.
Namespace: QsUIAssembly: QsUI (in QsUI.dll) Versione: 27.1.0
Sintassi public static InputBoxResult ShowInputBox(
string prompt,
string title,
string defaultResponse,
InputBoxValidatingHandler validator
)
Public Shared Function ShowInputBox (
prompt As String,
title As String,
defaultResponse As String,
validator As InputBoxValidatingHandler
) As InputBoxResult
public:
static InputBoxResult^ ShowInputBox(
String^ prompt,
String^ title,
String^ defaultResponse,
InputBoxValidatingHandler^ validator
)
static member ShowInputBox :
prompt : string *
title : string *
defaultResponse : string *
validator : InputBoxValidatingHandler -> InputBoxResult
Parametri
- prompt String
- String expression displayed as the message in the dialog box
- title String
- String expression displayed in the title bar of the dialog box
- defaultResponse String
- String expression displayed in the text box as the default response
- validator InputBoxValidatingHandler
- Delegate used to validate the text
Valore di ritorno
InputBoxResultAn InputBoxResult object with the Text and the OK property set to true when OK was clicked.
Vedi anche