Is it possible to make some items of TRadioBox disabled? lazarus / 31-LCL ---------------------------------------------------------------------- kinlion · 2019-08-13 06:00 Hi, all, I want to disable some items of a radiobox. That is, user can't check those items under some condition. But I don't know how to. Is it possible to do this? Thanks in advance! ---------------------------------------------------------------------- wp · 2019-08-13 07:55 RadioBox? You probably mean a TRadioGroup? You get access to the individual buttons of a TRadioGroup by means of the Controls[] property; you must cast them to TRadioButton, though: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   // Disable the radiobutton #1 of Radiogroup1  TRadioButton(RadioGroup1.Controls[1]).Enabled := false; Alternatively and less hacky, you can use a TGroupbox and add the radio buttons separately; this way you have full control of the radiobuttons without any tricks. ---------------------------------------------------------------------- kinlion · 2020-03-02 05:59 Thanks to wp