Sign in Join
FPDoc Onlineexperiment

DrawGrid procedure

In unit LCLIntf

Draws the grid separator lines between columns and rows with the specified width and height.

Declaration

pascal
procedure DrawGrid(DC: HDC; const R: TRect; DX: Integer; DY: Integer)

Arguments

DC

Device context where the drawing operation is performed.

R

Rectangle with the bounds where the grid is drawn.

DX

Width for the evenly-spaced columns in the grid.

DY

Height for the evenly-spaced rows in the grid.

Description

The current device context is saved on entry, and restored prior to exit.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.