Skip to content

4.4 Selecting an Option

BDC_Patrick edited this page Nov 12, 2025 · 3 revisions

if you followed the little Manual of how to List Options, you have a bound Event to the Dispatcher "OnOptionSelected" of the Option Widget.

The bound Event is then called, whenever an option is selected and returns the selected option index.

[Image of Selecting Option]
The Subsystem offers you a simple Function to handle that selection to the Dialog, by using the SelectOption Function, which wants the Option Index and returns if the Option has a valid Target.

Option as Message

If the option has the switch for UseAsMessageUponSelection being enabled, the option itself will throw an OnDialogUpdated, to show itself as Message.

Documentation Index

I. What is the Dialog Backend?
II. Setting up
III. Binding UI
IV. The Subsystem
V. The Components
VI. Dispatchers
VII. Others

Demo available: Demo Page

Clone this wiki locally