[Gambas-user] MessageBox problem

Charlie charlie at ...2793...
Wed May 4 17:24:13 CEST 2016


The MessageBox gives focus to the first button created so it's a good idea to
use the first button as 'Cancel' in case a user presses [Enter].
If the user decides he does not want the MessageBox at all and presses the
'X' to close it the message box returns the number of the last button which
in the case of a MessageBox with 2 button 'Cancel' & 'Do It' pressing the
'X' will cause the 'Do It' routine to be activated. See example attached. is
this correct?
MessageBoxTest.tar
<http://gambas.8142.n7.nabble.com/file/n56154/MessageBoxTest.tar>  



--
View this message in context: http://gambas.8142.n7.nabble.com/MessageBox-problem-tp56154.html
Sent from the gambas-user mailing list archive at Nabble.com.



More information about the User mailing list