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

TGridOption2

Represents grid options introduced in Version 2 (or higher) of grid controls.

Declaration

Source position: grids.pas line 122

type TGridOption2 = (

  goScrollToLastCol,

  

Allows scrolling to last column (so that last column can be leftcol).

  goScrollToLastRow,

  

Allows scrolling to last row (so the last row can also be TopRow).

  goEditorParentColor,

  

Sets the color in a cell editor to the color for the parent control.

  goEditorParentFont,

  

Sets the font in a cell editor to the font for the parent control.

  goCopyWithoutTrailingLinebreak

  

Copies cell(s) to the clipboard without trailing linebreak sequence.

);

Description

TGridOption2 is the type used to implement the Options2 property in TCustomGrid and descendent classes.

Version info

Modified in version 4.0 to include the goCopyWithoutTrailingLinebreak options.

See also

TCustomGrid.Options2

  

Contains additional options for scrolling and editor behavior enabled in the grid control.


Version 4.0 Generated 2025-05-03 Home