header Active property
Return to Introduction  Previous page  Next page
Applies to
acHeader, acHeaderPanel, acPicturePanel and acSplitterPanel components as sub-property of Background structure.  

property Active: Boolean;  

The Active property of Background structure specifies whether the control should have custom background (gradient or picture).  
Set Active to True to show the custom background (with smooth gradient effect or wallpaper specified in Picture property). Otherwise, set it to False to show standard single-tone background with color specified in Color property of control.  
To specify the kind of background (gradient or picture) — use Kind property.  
tip Alternatively, for better customization, you can use OnPaint event.  

See also
Kind property;  
OnPaint event.