Click or drag to resize

Metodo QsUIShowInputBox(String, String, ListString, String, Boolean, 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: 25.3.0.0 (25.3.0.0)
Sintassi
public static InputBoxResult ShowInputBox(
	string prompt,
	string title,
	List<string> defaultResponse,
	string selectedText,
	bool disableEdit,
	InputBoxValidatingHandler validator
)

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  ListString
String expression displayed in the text box as the default response
selectedText  String
 
disableEdit  Boolean
Boolean used to express if the user should be able to write custom values (true) or not (false).
validator  InputBoxValidatingHandler
Delegate used to validate the text

Valore di ritorno

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