TRadioButton behaves differently on Windows and Linux
Original Reporter info from Mantis: Marko
-
Reporter name:
Original Reporter info from Mantis: Marko
- Reporter name:
Description:
On Linux (I have tried GTK1 and GTK2) TRadioButton behaves different way than on Windows.
On Windows it's possible for RadioButton to be only button in a group and be unchecked while on Linux it's not.
Ways to recreate this.
- New -> Application
- Put single TRadioButton and two TButtons on a form
- On TButtons' OnClick events add RadioButton1.Checked := True and RadioButton1.Checked := False respectively.
- Compile on windows and Linux
You'll notice that clicking second TButton on Linux it's impossible to uncheck RadioButton, while in windows it is possible.
Also, if you try to change Checked state to False in Object Inspector, you'll fail to do so on Linux, while on windows it'll work...
Mantis conversion info:
- Mantis ID: 9994
- Version: 0.9.22
- Monitored by: » luizamerico (Luiz Americo)
- Target version: 1.0.0
- LazTarget: 1.0