Vcl.ComCtrls.TToolBar.GradientDrawButton

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GradientDrawButton(Button: TToolButton; State: TCustomDrawState;  var Flags: TTBCustomDrawFlags): Boolean; virtual;

C++

virtual bool __fastcall GradientDrawButton(TToolButton* Button, TCustomDrawState State, TTBCustomDrawFlags &Flags);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolBar

Description

Use this method for drawing toolbuttons when gdoGradient and dsGradient are both set.

This method is used for drawing toolbuttons when gdoGradient and dsGradient are both set.