DelphiFAQ Home Search:
General :: Programming :: Delphi :: VCL
About the Delphi VCL (Visual Component Library)


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Only the 40 most recently viewed articles are shown.
You can see the full list here.

Featured Article

Disable or hide the tabs of a TPageControl

Every page of a TPageControl is an instance of TTabSheet.
It has a property named TabVisible. If you set this in the
object inspector to false, you will have the classic notebook
view, without tabs:

  // disable all tabs
   for i := 0 to PageControl1.Pages.Count-1 do
     PageControl1.Pages[i].TabVisible := false;
   // force a specific page
   PageControl1.ActivePage := PageControl1.Pages[1];
You don't like the formatting? Check out SourceCoder then!
Generated 4:01:14 on Aug 21, 2018