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:
QsUI
Assembly:
QsUI (in QsUI.dll) Versione: 24.6.0.0 (24.6.0.0)
Sintassi public static InputBoxResult ShowInputBox(
string prompt,
string title,
string defaultText,
InputBoxValidatingHandler validator
)
Public Shared Function ShowInputBox (
prompt As String,
title As String,
defaultText As String,
validator As InputBoxValidatingHandler
) As InputBoxResult
public:
static InputBoxResult^ ShowInputBox(
String^ prompt,
String^ title,
String^ defaultText,
InputBoxValidatingHandler^ validator
)
static member ShowInputBox :
prompt : string *
title : string *
defaultText : string *
validator : InputBoxValidatingHandler -> InputBoxResult
Parametri
- prompt
- Tipo: SystemString
String expression displayed as the message in the dialog box - title
- Tipo: SystemString
String expression displayed in the title bar of the dialog box - defaultText
- Tipo: SystemString
- validator
- Tipo: QsUIInputBoxValidatingHandler
Delegate used to validate the text
Valore di ritorno
Tipo:
InputBoxResultAn InputBoxResult object with the Text and the OK property set to true when OK was clicked.
Vedi anche