Referring to TCheckGroup items by caption lazarus / 31-LCL ---------------------------------------------------------------------- Leledumbo · 2010-09-06 08:36 Sometimes it's not convenient to look for checked items through TCheckGroup.Checked[], since the index will change when the order is changed. Is there any other property to access it by caption ? e.g. TCheckGroup.Checked['An item'] ---------------------------------------------------------------------- theo · 2010-09-06 09:25 TCheckGroup's Items are TStrings, so you can use IndexOf. 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 var idx:Integer;begin  idx:=CheckGroup1.Items.IndexOf('zwei');  if idx>-1 then CheckGroup1.Checked[idx]:=true;end; ---------------------------------------------------------------------- Leledumbo · 2010-09-07 05:24 Doh!, I didn't realize that. Thanks.