Re: [Gambas-user] MessageBox problem

2016-05-07 Thread Charlie
Hi Gianluigi, That's an interesting twist and it does solve the problem, thank you. -- View this message in context: http://gambas.8142.n7.nabble.com/MessageBox-problem-tp56154p56240.html Sent from the gambas-user mailing list archive at Nabble.com. ---

Re: [Gambas-user] MessageBox problem

2016-05-06 Thread Gianluigi
I mean something like this, see attached 2016-05-06 16:46 GMT+02:00 Gianluigi : > You must add the third button (CANCEL), or create your message box. > It is not difficult, look at the code of Benoit Minisini in gb.Form. > > 2016-05-06 14:08 GMT+02:00 Charlie : > >> Yes I am aware of this but as

Re: [Gambas-user] MessageBox problem

2016-05-06 Thread Gianluigi
You must add the third button (CANCEL), or create your message box. It is not difficult, look at the code of Benoit Minisini in gb.Form. 2016-05-06 14:08 GMT+02:00 Charlie : > Yes I am aware of this but as I said "The MessageBox gives focus to the > first > button created so it's a good idea to u

Re: [Gambas-user] MessageBox problem

2016-05-06 Thread Charlie
Yes I am aware of this but as I said "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]." So in your example if you reverse the 'Yes' and 'No' (Cancel) buttons so that if the user presses [Enter] the 'No' bu

Re: [Gambas-user] MessageBox problem

2016-05-06 Thread Gianluigi
Your message works correctly, see attached 2016-05-04 17:24 GMT+02:00 Charlie : > 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 pre