OpsContextSelectionRequest(String, String, IEnumerableObject) Method |
Selection request. Displays a prompt listing the supplied strings. Returns index of selected item or null if user cancelled request.
Namespace: Micros.OpsAssembly: Ops (in Ops.dll) Version: 19.8
Syntaxpublic int? SelectionRequest(
string title,
string prompt,
IEnumerable<Object> items
)
Parameters
- title String
- Title of the prompt.
- prompt String
- Prompt text.
- items IEnumerableObject
- A list of available selections. The ToString() method will be run on the items
Return Value
NullableInt32Returns the index of the selected entry.
See Also