TBookMarks how to Toggle all T/F lazarus / 21-General ---------------------------------------------------------------------- What I can do · 2024-11-08 21:08 Lazarus:3.4 OS:Windows10 @64 Project: click on DBGrid title of the Bookmark "RecList" all on or off as per toggle I have found a Loop counter but I don't know how to toggle without the CurrentRowSelected OK so how do I select the row in each completion of the loop. need an example, link, or shared wisdom. thanks in advance 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   if Column.Index=0    then      for r:=0 to RecList.Count-1 do       begin       // RecList.Items[x]  don't know what to do here       end; ---------------------------------------------------------------------- jamie · 2024-11-08 22:46 I am not much of a Data base person, however, looking at the HELP file and some code frags, you must be talking about the TYPE TBookMark which is an item in a TBookMarkList. Each item in the List is a  TBookMark = Tbytes = Array of Bytes. So basically, you treat each item from the ITEMS list as an array of bytes which is dynamic of course and adherer's to the standards of managed types, LENGTH, Low, High etc., Did that help you any? ---------------------------------------------------------------------- What I can do · 2024-11-09 13:14 Maybe I am not clear because I don't understand how to set and unset the DBgrid checkbox for the BookMarkList as a none field column. Everything works great for a single click toggle on a single row but how do i set this without the DBGrid2UserCheckboxState I would like to click once and toggle the entire column of record count to TRUE