[patch] Non-themed (non-native) MessageDlg can't default to mbYes or mbNo buttons if mbOk is also displayed
Original Reporter info from Mantis: etrusco
-
Reporter name: Flávio Etrusco
Original Reporter info from Mantis: etrusco
- Reporter name: Flávio Etrusco
Description:
Because TCustomButton.Default is assigned according to ButtonKind, mbYes and mbNo buttons, which are placed before mbOk, don't obey 'default' setting in MessageDlg.
A lame patch is attached. Obvious options include accessing the buttons by control index or crack the 'protected' visibility of 'Loading' method to force csLoading state ;-)
Mantis conversion info:
- Mantis ID: 20154
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 32191 (#0b5089f7)
- Monitored by: » @flyingsheep (Bart Broersma)
- Target version: 0.99.0