Sign in Join
FPDoc Onlineexperiment

TCustomGrid.DrawFillRect procedure

Member of TCustomGridprotectedIn unit Grids

Draws the fill rectangle on the specified canvas.

Declaration

pascal
procedure DrawFillRect(aCanvas: TCanvas; R: TRect)

Arguments

aCanvas

Canvas where the fill rectangle is drawn.

R

Rectangle with the bounds filled in the method.

Description

Shifts the specified rectangle by one pixel on the left- and right-hand edges when UseRightToLeftAlignment is set to True. Calls the FillRect method in the TCanvas instance to draw the adjusted rectangle.

DrawFillRect is called from the DrawCell method.

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