THeaderControl lazarus / 31-LCL ---------------------------------------------------------------------- StanRogo · 2012-01-06 09:15 I am trying to use a Header with 5 different items. When I click on an item 4 panels that I have made should be visible:=false and the relvant one should become visible. I have found an onclick function but this relates to the whole header. I have no idea how to make it so that when I click an individual item in the header the above specified happens. Please help! ---------------------------------------------------------------------- Ocye · 2012-01-06 10:12 My header control [1] does not have a simple OnClick-event but OnSelectionClick including the appropriate section as parameter. I guess you don't talk about "header controls" - what else? [1] http://lazarus- ccr.sourceforge.net/docs/lcl/comctrls/theadercontrol.html