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: 18.2
Syntax public int SimSelectionRequest(
string title,
string prompt,
IEnumerable items
)
Parameters
- title
- Type: SystemString
Title of the prompt. - prompt
- Type: SystemString
Prompt text. - items
- Type: System.CollectionsIEnumerable
A list of available selections. The ToString() method will be run on the items
Return Value
Type:
Int32Returns the index of the selected entry.
See Also