TPanel.visible := False question lazarus / 31-LCL ---------------------------------------------------------------------- IPguy · 2011-07-22 02:10 If I set a TPanel to not visible, what happens to the objects that are on that panel? I am expecting that those objects (TCheckGroup and a TLabel, in this case) would also be hidden.  I have verified that the parent of both objects is the TPanel in question. I can hide the tCheckBox and TLabel independently of the TPanel, but hiding the TPanel does not hide it's child objects. 0.9.31-31292-2.4.4-Win32-Vista ---------------------------------------------------------------------- felipemdc · 2011-07-22 04:42 Quote from: IPguy on July 22, 2011, 04:10:04 amIf I set a TPanel to not visible, what happens to the objects that are on that panel? .... I can hide the tCheckBox and TLabel independently of the TPanel, but hiding the TPanel does not hide it's child objects. If you hide any container control, like a Panel, then all controls placed inside it will also be hidden. If this is not happening, then most likely your checkbox and label are not inside the panel, but rather on top of it, but inside the form. You can check the object hierarchy in the top-most control of the Object Inspector. ---------------------------------------------------------------------- IPguy · 2011-07-23 01:35 The OI shows that the objects under the Panel (see attached picture) - is that the same as inside the panel? ---------------------------------------------------------------------- IPguy · 2011-07-23 01:36 (yea - I'm a "Full Member" now - hopefully without too many stupid messages.  grin)