Metodo QsUIShowInputBoxAsMultiLine(String, String, String, InputBoxValidatingHandler, Boolean)
|
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 ShowInputBoxAsMultiLine(
string prompt,
string title,
string defaultResponse,
InputBoxValidatingHandler validator,
bool useOnlyOkButton = false
)
Public Shared Function ShowInputBoxAsMultiLine (
prompt As String,
title As String,
defaultResponse As String,
validator As InputBoxValidatingHandler,
Optional useOnlyOkButton As Boolean = false
) As InputBoxResult
public:
static InputBoxResult^ ShowInputBoxAsMultiLine(
String^ prompt,
String^ title,
String^ defaultResponse,
InputBoxValidatingHandler^ validator,
bool useOnlyOkButton = false
)
static member ShowInputBoxAsMultiLine :
prompt : string *
title : string *
defaultResponse : string *
validator : InputBoxValidatingHandler *
?useOnlyOkButton : bool
(* Defaults:
let _useOnlyOkButton = defaultArg useOnlyOkButton false
*)
-> 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
- useOnlyOkButton Boolean (Optional)
- Indicates whether to use only Ok button
Valore di ritorno
InputBoxResultAn InputBoxResult object with the Text and the OK property set to true when OK was clicked.
Vedi anche