Download Now

    Reference TBanner

    Declared in Codebot.Controls.Banner.pas on line 107

    TBanner is a control which draws a background, logo, title, and subtitle
      TBanner = class(TSurfaceGraphicControl)
      protected
        procedure Draw; override;
        procedure Loaded; override;
      public
        { Create a new banner }
        constructor Create(AOwner: TComponent); override;
        destructor Destroy; override;
      published
        { The image drawn at the left of the banner }
        property Logo: TSurfaceBitmap read FLogo write SetLogo;
        { The background of the banner }
        property Background: TBannerBackground read FBackground write SetBackground;
        { The title text }
        property Title: TBannerText read FTitle write SetTitle;
        { The subtitle text drawn below the title }
        property TitleSub: TBannerText read FTitleSub write SetTitleSub;
        { When true a shadow is drawn below the banner }
        property Shadow: Boolean read FShadow write SetShadow default True;
        property Action;
        property Align;
        property Anchors;
        property AutoSize;
        property BidiMode;
        property BorderSpacing;
        property Constraints;
        property Caption;
        property Color;
        property ShowHint;
        property ParentBidiMode;
        property ParentShowHint;
        property PopupMenu;
        property Visible;
        property OnDraw;
        property OnMouseDown;
        property OnMouseEnter;
        property OnMouseLeave;
        property OnMouseMove;
        property OnMouseUp;
        property OnMouseWheel;
        property OnMouseWheelDown;
        property OnMouseWheelUp;
        property OnResize;
        property OnChangeBounds;
      end;

    See also

    TSurfaceBitmap in Codebot.Graphics.pas
    TSurfaceGraphicControl in Codebot.Controls.pas