Property "RadioGroup.Controls[x] not in sync with RadioGroup.items[x]
Original Reporter info from Mantis: Reinhard Berger
-
Reporter name:
Original Reporter info from Mantis: Reinhard Berger
- Reporter name:
Description:
In Lazarus 1.1 the 2 properties
"RadioGroup.items" and "RadioGroup.controls" was in sync
means value [1] from items was the same as value [1] from controls.
Since V1.3 this 2 properties are out of sync.
Eg.
Poperty items : [0]=item#0
[1]=item#1
[2]=item#2
[3]=item#3
Property : controls.caption
[0]=item#0
[1]=HiddenRadioButton
[2]=[1]=item#1
[3]=[2]=item#2
The item #3 (closed) with name "item#3" is also not there (cut off) since the "Hidden Radio" is inserted before.
Also shomehow in debug mode a empty line will be inserted before item#0 (see attached photo)
Steps to reproduce:
Create a value of Tradiogroups and name it.
Additional information:
As seen on picture on lazarus 1.1 all was in sync.
1st left window shows laz 1.1 (win32) (Release)
2nd window to right shows laz 1.3 (win32) (Release)
3nd window to right shows laz 1.3 qt (linux) (Release)
4th window to right shows laz 1.3 qt (Linux) (Debug)
Mantis conversion info:
- Mantis ID: 27042
- OS: Linux
- Platform: Qt,Win32,GTK2
- Version: 1.2.3 (SVN)
- Fixed in version: 1.2.8
- Fixed in revision: r46964 (#32c31aa3)
- Target version: 1.2.8