[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Grids' (#lcl)

TCustomGrid.UseXORFeatures

UseXORFeatures: When True, the dotted focus rectangle is painted using the XOR raster operation

Declaration

Source position: grids.pas line 1050

protected property TCustomGrid.UseXORFeatures: Boolean
  read FUseXORFeatures
  write SetUseXorFeatures
  default false;

Description

This property controls how the dotted focus rectangle appears in the grid. When True, the rectangle is painted using the XOR raster operation. This allow us to see the focus rectangle no matter what the cells' background color is. When False, the user can control the color of the dotted focus rectangle using the FocusColor property

It also controls the look of the column/row resizing. When True, a line shows visually the size that the the column or row will have if the user ends the operation. When False, the column or row resizing takes effect just as the user drags the mouse

The latest version of this document can be found at lazarus-ccr.sourceforge.net.