headerpanel Active property
Return to Introduction  Previous page  Next page
Applies to
acHeaderPanel component as sub-property of BackgroundHeader structure.  

property Active: Boolean;  

The Active property of BackgroundHeader 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 OnPaintHeader event.  

See also
Kind property;  
OnPaintHeader event.