Click or drag to resize

OpsContextSimSelectionRequest Method

Selection request. Displays a prompt listing the supplied strings. Returns index of selected item or -1 if user cancelled request. This is used for SIM due to nullable type issues.

Namespace: Micros.Ops
Assembly: Ops (in Ops.dll) Version: 19.9
Syntax
C#
public int SimSelectionRequest(
	string title,
	string prompt,
	IEnumerable items
)

Parameters

title  String
Title of the prompt.
prompt  String
Prompt text.
items  IEnumerable
A list of available selections. The ToString() method will be run on the items

Return Value

Int32
Returns the index of the selected entry.
See Also