Metodo QsUIShowInputBox(String, String, ListString, String, InputBoxValidatingHandler, Int32, Int32)
|
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: 25.3.0.0 (25.3.0.0)
Sintassi public static InputBoxResult ShowInputBox(
string prompt,
string title,
List<string> defaultResponse,
string selectedText,
InputBoxValidatingHandler validator,
int width,
int height
)
Public Shared Function ShowInputBox (
prompt As String,
title As String,
defaultResponse As List(Of String),
selectedText As String,
validator As InputBoxValidatingHandler,
width As Integer,
height As Integer
) As InputBoxResult
public:
static InputBoxResult^ ShowInputBox(
String^ prompt,
String^ title,
List<String^>^ defaultResponse,
String^ selectedText,
InputBoxValidatingHandler^ validator,
int width,
int height
)
static member ShowInputBox :
prompt : string *
title : string *
defaultResponse : List<string> *
selectedText : string *
validator : InputBoxValidatingHandler *
width : int *
height : int -> 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 ListString
- String expression displayed in the text box as the default response
- selectedText String
-
- validator InputBoxValidatingHandler
- Delegate used to validate the text
- width Int32
-
- height Int32
-
Valore di ritorno
InputBoxResultAn InputBoxResult object with the Text and the OK property set to true when OK was clicked.
Vedi anche