Unit 'MUIClass.Grid' Package
[Overview][Constants][Types][Classes][Index] [#MUIClass]

TMUIGrid

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

Declaration

Source position: MUIClass.Grid.pas line 17

type TMUIGrid = class(TMUIScrollGroup)

protected

  FCol: Integer;

  FRow: Integer;

  BlockRecalcSize: Boolean;

  IDB: TDrawBuffer;

  ToRedraw: TRedrawList;

  AllToRedraw: Boolean;

  procedure AddToRedraw();

  procedure RecalcSize;

  procedure SetNumRows(); virtual;

  procedure SetNumCols(); virtual;

  procedure SetGridWidth();

  procedure SetGridHeight();

  function GetGridWidth;

  function GetGridHeight;

  function GetCellWidth(); virtual;

  procedure SetCellWidth(); virtual;

  function GetCellHeight(); virtual;

  procedure SetCellHeight(); virtual;

  property GridWidth: Integer; [rw]

  property GridHeight: Integer; [rw]

  procedure InternalDrawCells();

  procedure DoDrawObject(); virtual;

  procedure DoDrawCell(); virtual;

  function ColRowToNum();

  function NumToColRow();

public

  constructor Create; override;

  destructor Destroy; override;

  function CoordToCell();

  function CellToRect();

  function CellsToRect();

  procedure RedrawCell();

  procedure RedrawAllCells;

  procedure SetSize();

  property NumRows: Integer; [rw]

  property NumCols: Integer; [rw]

  property FixedCols: Integer; [rw]

  property FixedRows: Integer; [rw]

  property DefCellHeight: Integer; [rw]

  property DefCellWidth: Integer; [rw]

  property CellWidth []: Integer; [rw]

  property CellHeight []: Integer; [rw]

  property OnDrawCell: TDrawCellEvent; [rw]

end;

Inheritance

TMUIGrid

|

TMUIScrollGroup

  

Scrollgroup objects can be used to supply virtual groups with scrollbars.

|

TMUIGroup

  

Group class is responsible for the complete layout of a MUI window.

|

TMUIArea

  

Super class for every other MUI class except windows and applications

|

TMUIWithParent

  

Subclass of TNotify to introduce the Parent relation

|

TMUINotify

  

Notify class is superclass of all other MUI classes.

|

TMUIRootClass

  

Base class for all MUI Class

|

TObject


Documentation generated on: 2024-11-23