| Class TMColumnTitle (unit MyDbgrids) |
TPersistent
| Constructors |
constructor Create(Column: TMColumn);| Functions |
procedure Assign(Source: TPersistent);
function DefaultAlignment: TAlignment;
function DefaultCaption: string;
function DefaultColor: TColor;
function DefaultFont: TFont;
destructor Destroy;
procedure RestoreDefaults;
procedure RefreshDefaultFont;
procedure FontChanged(Sender: TObject);
function GetAlignment: TAlignment;
function GetCaption: string;
function GetColor: TColor;
function GetFont: TFont;
function IsAlignmentStored: Boolean;
function IsCaptionStored: Boolean;
function IsColorStored: Boolean;
function IsFontStored: Boolean;
procedure SetAlignment(Value: TAlignment);
procedure SetCaption(const Value: string);
procedure SetColor(Value: TColor);
procedure SetFont(Value: TFont);| Properties |
property Alignment : TAlignment
property Caption : string
property Color : TColor
property Font : TFont| Events |
| Variables |
FAlignment : TAlignment;
FCaption : string;
FColor : TColor;
FColumn : TMColumn;
FFont : TFont;| Constructors |
constructor Create(Column: TMColumn);TColumnTitle
| Functions |
procedure Assign(Source: TPersistent);
function DefaultAlignment: TAlignment;
function DefaultCaption: string;
function DefaultColor: TColor;
function DefaultFont: TFont;
destructor Destroy;
procedure RestoreDefaults;
procedure RefreshDefaultFont;
procedure FontChanged(Sender: TObject);
function GetAlignment: TAlignment;
function GetCaption: string;
function GetColor: TColor;
function GetFont: TFont;
function IsAlignmentStored: Boolean;
function IsCaptionStored: Boolean;
function IsColorStored: Boolean;
function IsFontStored: Boolean;
procedure SetAlignment(Value: TAlignment);If font was assigned, changing it back to default may affect grid title height, and title height changes require layout and redraw of the grid.
procedure SetCaption(const Value: string);
procedure SetColor(Value: TColor);
procedure SetFont(Value: TFont);| Properties |
property Alignment : TAlignment
property Caption : string
property Color : TColor
property Font : TFont| Events |
| Variables |
FAlignment : TAlignment;
FCaption : string;
FColor : TColor;
FColumn : TMColumn;
FFont : TFont;