I have a form that has several TTabSheets of a TPageControl that display debug information. Currently I have a statement like this: {$IFDEF xxx} tsDebugShift.Visible := False; {$ENDIF} Obviously this is not optimal because if you are not viewing the debug data the form still has to spend time creating/destroying the tab sheet and the components on it. Does anyone know of something that I can override to stop a form creating certain components defined in a DFM? TIA, Guy Brown --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz