himselfv / wakan

Japanese and Chinese learning tool with dictionary
36 stars 7 forks source link

Neither Japanese mode nor Chinese mode is checked in menu at the start #175

Closed himselfv closed 11 years ago

himselfv commented 11 years ago

Original report by me.

Originally reported on Google Code with ID 175

Start Wakan, go to Tools. Neither japanese mode nor chinese mode is checked.

Reported by himselfv on 2013-06-06 08:35:33

himselfv commented 11 years ago
Fixed @r604, that was some bug in VCL where if you set RadioItem property of TMenuItem
and leave Group to 0, then even if by default TRadioItem is unchecked and no matter
how other items from the set are checked, every item needs to be set to Checked, then
Unchecked, then Checked again before it starts displaying Checked when Checked.

Fixed by giving one of the items Checked==true by default, setting Group to 1 and enabling
AutoCheck. (Maybe Checked=true by default or Autocheck wasn't needed, if it breaks
again will test)

Reported by himselfv on 2013-06-06 08:47:40