Metodo QsUIShowInputBoxAsMultiLine (String, String, String, InputBoxValidatingHandler, Int32, Int32, Int32)
|
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: 1.0.0.0 (1.0.0.0)
Sintassi public static InputBoxResult ShowInputBoxAsMultiLine(
string prompt,
string title,
string defaultText,
InputBoxValidatingHandler validator,
int width,
int height,
int maxLenght = 0
)
Public Shared Function ShowInputBoxAsMultiLine (
prompt As String,
title As String,
defaultText As String,
validator As InputBoxValidatingHandler,
width As Integer,
height As Integer,
Optional maxLenght As Integer = 0
) As InputBoxResult
public:
static InputBoxResult^ ShowInputBoxAsMultiLine(
String^ prompt,
String^ title,
String^ defaultText,
InputBoxValidatingHandler^ validator,
int width,
int height,
int maxLenght = 0
)
static member ShowInputBoxAsMultiLine :
prompt : string *
title : string *
defaultText : string *
validator : InputBoxValidatingHandler *
width : int *
height : int *
?maxLenght : int
(* Defaults:
let _maxLenght = defaultArg maxLenght 0
*)
-> 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
String expression displayed in the text box as the default response - validator
- Tipo: QsUIInputBoxValidatingHandler
Delegate used to validate the text - width
- Tipo: SystemInt32
Larghezza della finestra (-1) default - height
- Tipo: SystemInt32
Altezza della finestra (-1) default - maxLenght (Optional)
- Tipo: SystemInt32
Limit number of characters.
Valore di ritorno
Tipo:
InputBoxResultAn InputBoxResult object with the Text and the OK property set to true when OK was clicked.
Vedi anche