How to disable a checkbox in TMSFNCCheckGroup

Hi,

I want to disable some checkbox in a TMSFNCCheckGroup using this code:

TMSFNCCheckboxGroup.CheckBoxes[5].Enabled := False;

But checkbox remains enabled after running that code. How can this be done?

TIA,
Ricardo

Hi,

The checkbox is only part of the control, you also have the HTML text and the wrapper container.
You can disable all the controls with

TMSFNCCheckGroup1.Containers[2].Enabled := False;

Thank you very much. That's what I was looking for

1 Like