OptionDialog.OnOption


public event OnOption

Prototype:

OnOption(Sender, EventData)

Parameters

Sender
the event firing control
EventData
a string containing the option index. Must be evaluated: option_index=value EventData. The option will be Options[option_index].

Description:

Event fired when the user clicks one of the option buttons. If the dialog is closed without the click of an option button, this event is not fired.

Return value:

This event can close the application by returning MSG_APPLICATION_QUIT. Any other return value will be ignored.