TextInputDialog Event.COMPLETE

From GiderosMobile
Revision as of 20:44, 11 February 2020 by MoKaLux (talk | contribs) (Created page with "'''<translate>Available since</translate>:''' Gideros 2012.8<br/> '''<translate>Value</translate>:''' complete<br/> '''<translate>Defined by</translate>:''' Special:MyLangua...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2012.8
Value: complete
Defined by: TextInputDialog

Description

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

Parameters

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