radiobuttons cannot be set correctly at times
Original Reporter info from Mantis: equinox
-
Reporter name:
Original Reporter info from Mantis: equinox
- Reporter name:
Description:
I used this code. I had three groupboxes of radiobuttons.
This is the third groupbox.
Each group had two radiobuttons.
Only the last group had this problem.
I could not check a radiobutton by
setting Form2.RadioButton1.Checked:=true;.
In order to do so, I also had to set Form2.RadioButton2.Checked:=false.
(these two are the same groupbox)
if Cfg.ReadBool('settings','small_window',false) then
begin
Form2.RadioButton1.Checked:=true;
Form2.RadioButton2.Checked:=false;
writeln('here');
end
else
Form2.RadioButton2.Checked:=true;
Note: the default setting is Form2.RadioButton2.Checked:=true
Good luck!
Mantis conversion info:
- Mantis ID: 1035
- OS: XP
- OS Build: 0.9.7 beta
- Build: 20050708
- Platform: Windows
- Target version: 0.9.12