MrSpock: -------------------------------------------------------------------------------- InputText() will return an empty string if and only if the user clicks Cancel or deletes the content of the edit box and clicks OK. --------------------------------------------------------------------------------
Maybe a feature wish: Could the _return value_ of the cancelled InputText dialog be _changed_ to some non-string value (false, None, Null, undefined ... ), so that one can distinguish between inserting an empty string and cancelling the dialog? -- <http://forum.pspad.com/read.php?2,36503,39153> PSPad freeware editor http://www.pspad.com