[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] Reference for unit 'fpGUI' (#fpgui)

TCustomGrid

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

Declaration

Source position: grid.inc line 34

type TCustomGrid = class(TWidget)

protected

  ScrollingSupport: TScrollingSupport;

  

  procedure Paint(); override;

  

  function ProcessEvent(); override;

  

  function DistributeEvent(); override;

  

  procedure CalcSizes; override;

  

  procedure Resized; override;

  

  procedure ColWidthsChanged; dynamic;

  

  procedure DrawCell(); virtual; abstract;

  

  procedure RowHeightsChanged; dynamic;

  

  procedure SizeChanged(); dynamic;

  

  property CanExpandWidth;

  

  property CanExpandHeight;

  

  property ColCount: Integer; [rw]

  

  property RowCount: Integer; [rw]

  

  property FixedCols: Integer; [rw]

  

  property FixedRows: Integer; [rw]

  

  property GridWidth: Integer; [r]

  

  property GridHeight: Integer; [r]

  

  property FixedWidth: Integer; [r]

  

  property FixedHeight: Integer; [r]

  

  property DefaultColWidth: Integer; [rw]

  

  property DefaultRowHeight: Integer; [rw]

  

  property ColWidths: Integer; [rw]

  

  property RowHeights: Integer; [rw]

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

end;

Inheritance

TCustomGrid

  

|

TWidget

  

The TWidget class is the base class of all user interface objects.

|

TComponent

?

TObject