[Gambas-user] MessageBox problem

Gianluigi bagonergi at ...626...
Fri May 6 23:37:02 CEST 2016


I mean something like this, see attached

2016-05-06 16:46 GMT+02:00 Gianluigi <bagonergi at ...626...>:

> 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 <charlie at ...2793...>:
>
>> 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'
>> button if pressed the window is not closed then the problem reappears if
>> you
>> click on the 'X'.
>>
>>
>>
>> --
>> View this message in context:
>> http://gambas.8142.n7.nabble.com/MessageBox-problem-tp56154p56234.html
>> Sent from the gambas-user mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> Find and fix application performance issues faster with Applications
>> Manager
>> Applications Manager provides deep performance insights into multiple
>> tiers of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HalfMessage-0.0.1.tar.gz
Type: application/x-gzip
Size: 11997 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20160506/4582ce6c/attachment.bin>


More information about the User mailing list