Click or drag to resize

Metodo QsUIShowInputBoxAsMultiLine(String, String, String, InputBoxValidatingHandler, Int32, Int32, Int32, Int32, Int32, Boolean)

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: 25.3.0.0 (25.3.0.0)
Sintassi
public static InputBoxResult ShowInputBoxAsMultiLine(
	string prompt,
	string title,
	string defaultResponse,
	InputBoxValidatingHandler validator,
	int xpos,
	int ypos,
	int width,
	int height,
	int maxLenght = 0,
	bool useOnlyOkButton = false
)

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
xpos  Int32
 
ypos  Int32
 
width  Int32
Width of the form
height  Int32
Height of the form
maxLenght  Int32  (Optional)
Limit number of characters
useOnlyOkButton  Boolean  (Optional)
Indicates whether to use only Ok button

Valore di ritorno

InputBoxResult
An InputBoxResult object with the Text and the OK property set to true when OK was clicked.
Vedi anche