TNotebook pages visible lazarus / 10-Designer ---------------------------------------------------------------------- cazzajay · 2009-07-07 14:48 Hi all, another query (thanks for all your help!) I have a notebook with several pages, and i want to make the second tab (index 1) invisible when someone clicks a button... i have tried  procedure TForm1.Button1Click(Sender: TObject);  begin  notebook1.page[1].visible := false;  end; but it seems that the visible state of any of the pages is not alterable from either the code at runtime or the object inspector at design time (stuck on True).  In the object inspector, it can be changed but reverts back to true every time it is run. This applies whether the page to be made invisible is either the currently selected tab or not. I have also tried substituting with  notebook1.page[1].hide; but also to no avail Is there a way around this? Thanks again ---------------------------------------------------------------------- katyan · 2009-07-07 16:11 Use TPageControl from "Common Controls" tab. It has TabView property which shows or hides pages.