Table of Contents

Event.COMPLETE

Available since version: Gideros 2012.8

Description:

This event is dispatched when user presses any button on TextInputDialog or the dialog is dismissed by any other reason.

Value:

Event.COMPLETE = "complete"

Event properties:

  • text: (string) the text entered into text input field
  • buttonIndex: (number) the index of the button pressed. It is nil when cancel button is pressed, 1 when 1st button is pressed and 2 when 2nd button is pressed.
  • buttonText: (string) the text of the button pressed