RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolBar.GradientDrawButton Method

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

Pascal
function GradientDrawButton(Button: TToolButton; State: TCustomDrawState; var Flags: TTBCustomDrawFlags): Boolean; virtual;
C++
virtual __fastcall Boolean GradientDrawButton(TToolButton Button, TCustomDrawState State, TTBCustomDrawFlags Flags);

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!