[Gambas-user] Message.Question default button changed?

Rolf-Werner Eilert rwe-sse at osnanet.de
Wed Jan 12 18:48:48 CET 2022


Am 12.01.22 um 17:11 schrieb Benoît Minisini:
> Le 12/01/2022 à 16:45, Rolf-Werner Eilert a écrit :
>>>
>>> No, it changed recently and I don't like it at all, but that's how it 
>>> was decided by the boss :-P
>>>
>>> Regards
>>> Gianluigi
>>>
>>>
>>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>
>>
>> Aargh - so I was right.
>>
>> Benoit, please change it back, it means I have to rearrange all my 
>> message boxes. Otherwise I would have to reverse polarity of my 
>> fingers :-)
>>
>> CANCEL IS NEVER THE DEFAULT - and it hasn't been in any GUI I have 
>> ever known for 30 years. When used to key operation, every user would 
>> expect Return to be on "OK", "YES", "Save" or whatever, and Esc on 
>> "Cancel", "No", "Abort".
>>
>> If you want to keep it, why not offer a Boolean which changes the 
>> order so the programmer can choose?
>>
>> The only way to save me here would be making my own message dialog 
>> which sets the first button to Default and the second one to Cancel.
>>
>> Regards
>> Rolf
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> 
> In last commit I added a Message.DefaultButton property that is TRUE by 
> default. It makes the first button the default one.
> 
> If you set that property to FALSE, you get the previous behaviour, where 
> the cancel button is the default one.
> 
> Regards,
> 

Thank you Benoit! Looking forward to it...

Regards
Rolf



More information about the User mailing list