Radiogroup does not updated clicked button when in non-visible TPageControl tab
Original Reporter info from Mantis: AnthonyTekatch
-
Reporter name: Anthony Tekatch
Original Reporter info from Mantis: AnthonyTekatch
- Reporter name: Anthony Tekatch
Description:
Radio group event OnSelectionChanged (and also OnClick) is not triggered when a new click to a button is made when that radio group is located on a tab that was made invisible during a programmatical ItemIndex change.
Steps to reproduce:
I have attached an example application:
- run it and select Sheet 2
- Click on item "one", and watch that the Changed counter increases like it should
- Select "Sheet 1"
- press "Hide sheet 2"
- press "set to 0", notice that the Changed counter increases again like it should
- Press "Show sheet 2"
- Select "Sheet 2"
- radio will be on "zero" because of previous change
- Click on item "one", notice that Changed does not increase.
It is as if the radiogroup remembered what was manually clicked, but during invisibility, the ItemIndex can still be functionally changed correctly. A click to that different an previously remembered item is not registered as a new "OnSelectionChanged" event.
Mantis conversion info:
- Mantis ID: 26714
- Build: i386-linux-gtk 2
- Version: 1.2.4
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 46208 (#0e6d1e27)
- Monitored by: » AnthonyTekatch (Anthony Tekatch)
- Target version: 1.2.6