Unit 'msegrids' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

tcol

[Properties (by Name)] [Methods (by Name)]

Declaration

Source position: msegrids.pas line 554

type tcol = class(tgridprop)

public

  constructor create(); override;

  destructor destroy; override;

  procedure invalidate;

  procedure invalidatecell();

  procedure invalidatemaxsize(); virtual;

  function rowcolor();

  function rowfont();

  procedure changed; override;

  procedure cellchanged(); virtual;

  function actualcolor;

  function actualfont; virtual;

  function maxwidth;

  function minmaxwidth;

  property colindex: Integer; [r]

  function translatetocell();

  property visible: Boolean; [rw]

  property enabled: Boolean; [rw]

  property readonly: Boolean; [rw]

published

  property width: Integer; [rw]

  property rowcoloroffset: Integer; [rw]

  property rowcoloroffsetselect: Integer; [rw]

  

Offsets the tcustomgrid.rowcolors index used for a selected cell of this column, relative to the index used for a normal cell

  property rowfontoffset: Integer; [rw]

  property rowfontoffsetselect: Integer; [rw]

  property fontselect: tcolselectfont; [rws]

  property fontactivenum: Integer; [rw]

  property fontfocusednum: Integer; [rw]

  property onbeforedrawcell: beforedrawcelleventty; [rw]

  

Called before a cell of this column is drawn, to customize its rendering (e.g. set canvas.font.color) without a full custom paint

  property onafterdrawcell: drawcelleventty; [rw]

end;

Inheritance

tcol

|

tgridprop

|

tindexpersistent,iframe,iface

|

townedeventpersistent

|

tlinkedpersistent

|

tnullinterfacedpersistent,iobjectlink

|

tvirtualpersistent,iunknown

|

tpersistent

|

TObject


Documentation generated on: 2026-10-03