Click or drag to resize

Metodo QsUIShowInputBox (String, String, ListString, String, InputBoxValidatingHandler, Int32, 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 ShowInputBox(
	string prompt,
	string title,
	List<string> defaultResponse,
	string selectedText,
	InputBoxValidatingHandler validator,
	int xpos,
	int ypos,
	int width,
	int height
)

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
defaultResponse
Tipo: System.Collections.GenericListString
String expression displayed in the text box as the default response
selectedText
Tipo: SystemString
validator
Tipo: QsUIInputBoxValidatingHandler
Delegate used to validate the text
xpos
Tipo: SystemInt32
Numeric expression that specifies the distance of the left edge of the dialog box from the left edge of the screen.
ypos
Tipo: SystemInt32
Numeric expression that specifies the distance of the upper edge of the dialog box from the top of the screen
width
Tipo: SystemInt32
Width of the form
height
Tipo: SystemInt32
Height of the form

Valore di ritorno

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