TBitBtn.SetDefault is not implemented
Original Reporter info from Mantis: Frederick
-
Reporter name: Frederick
Original Reporter info from Mantis: Frederick
- Reporter name: Frederick
Description:
In a TButton with Height = 22 and Default = True a standard OS X aqua-style blue pulsating button is correctly displayed.
This standard behavior is not implemented in a TBitBtn, and setting Default = true has no effect.
Additional information:
http://forum.lazarus.freepascal.org/index.php/topic,12205.0.html
It is necessary, for both TButton and TBitBtn, to set TabOrder = 0 for the default action to occur when pressing Enter. This is different behavior than the for Cancel = true, which is triggered by pressing Esc no matter what the TabOrder.
If this behavior is to allow tab-selection, it does not work. In the example, try to tab among the four buttons. It seems that having to set TabOrder = 0 for Default = true may also be a bug.
Mantis conversion info:
- Mantis ID: 18829
- Version: 0.9.31 (SVN)