treeview question lazarus / 8-Other ---------------------------------------------------------------------- daz · 2008-02-14 22:16 Well, I have 4 main groups and they all have subnodes. Now, I want it to be able to check the index or w/e of the parent so I can determine which group it belongs to but Code: [Select]   if(treeview1.selected.level=0) then begin showmessage('You must select something to edit!'); end;   if(treeview1.selected.parent.imageindex=2) then begin   panel3.visible:=true;   end;   that gives me an access violation when the parent node is selected. Oh, btw, I got a laz925 snapshot because my version 924 got seriously screwed, the form with all the placeable objects and the file menu never appeared.. and the 925 beta fixes the gay transparency bug BUT I see no timage component =o anyone have that and know where it is? xD