Change at runtime the value of a radiogroup into AdvStringGrid

Hi

I build a radiogroup into a TAdvColumnGrid componant using AddRadioButtonGroup method.

To change the value (checked/unchecked) of this group by clicking into the grid, it works perfectly i.e. the radiobox clicked became checked and the others became unchecked. Thus just one at a time ic checked.

However, whe the command is made by the method SetRadioButtonState, the radiobox is checked but the previous radiobox checked remains checked too.

I included a small project to demonstrated that

probably I made a mistake.

Regards

Olivier
Radio_group.zip (92.6 KB)

Please use

list_Regle_Action.SetRadioButtonColumnIndex(0,2);

to set the index of the radiobutton in a grid column.

Great

THANKS YOU

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.