Class TOptionsAppearance

Unit

Declaration

type TOptionsAppearance = class(TPersistent)

Description

setting for TrDBGrid appearance, part of TOptionsEx2

Hierarchy

  • TPersistent
  • TOptionsAppearance

Overview

Properties

Public property ActiveRowOriginalColorShadowLuminance: integer read FActiveRowOriginalColorShadowLuminance write FActiveRowOriginalColorShadowLuminance;
Published property ActiveRowGradient: boolean read FActiveRowGradient write SetActiveRowGradient default false;
Published property SkipCellHighlight: boolean read FSkipCellHighlight write FSkipCellHighlight default false;
Published property DrawRowFocus: boolean read FDrawRowFocus write SetDrawRowFocus default false;
Published property DrawColoredRow: boolean read FDrawColoredRow write SetDrawColoredRow default false;
Published property HighlightMultiselect: boolean read FHighlightMultiselect write SetHighlightMultiselect default true;
Published property HideHScrollBar: boolean read FHideHScrollBar write SetHideHScrollBar default false;
Published property StandardTabKey: boolean read FStandardTabKey write FStandardTabKey default false;
Published property ReturnAsTabKey: boolean read FReturnAsTabKey write FReturnAsTabKey default false;
Published property DragCell: boolean read FDragCell write FDragCell default false;
Published property DragToScrollData: boolean read FDragToScrollData write FDragToScrollData default false;
Published property HintMaxLength: integer read FHintMaxLength write FHintMaxLength default 2000;
Published property ColumnMinWidth: integer read FColumnMinWidth write FColumnMinWidth default 40;
Published property ColumnMaxWidth: integer read FColumnMaxWidth write FColumnMaxWidth default 200;
Published property ColumnWidthMaxRecordsSearch: integer read FColumnWidthMaxRecordsSearch write FColumnWidthMaxRecordsSearch default 2000;
Published property LookupResetDelay: cardinal read FLookupResetDelay write FLookupResetDelay default 2500;
Published property DataRowLineColor: TColor read FDataRowLineColor write SetDataRowLineColor default clNone;
Published property DataRowLineStyle: TPenStyle read FDataRowLineStyle write SetDataRowLineStyle default psSolid;
Published property DataColLineColor: TColor read FDataColLineColor write SetDataColLineColor default clNone;
Published property DataColLineStyle: TPenStyle read FDataColLineStyle write SetDataColLineStyle default psSolid;
Published property DataRowInFixedColsAsTitle: boolean read FDataRowInFixedColsAsTitle write SetDataRowInFixedColsAsTitle default false;
Published property TitleRowLineColor: TColor read FTitleRowLineColor write SetTitleRowLineColor default clNone;
Published property TitleRowLineStyle: TPenStyle read FTitleRowLineStyle write SetTitleRowLineStyle default psSolid;
Published property TitleColLineColor: TColor read FTitleColLineColor write SetTitleColLineColor default clNone;
Published property TitleColInGroupLineColor: TColor read FTitleColInGroupLineColor write SetTitleColInGroupLineColor default clNone;
Published property TitleColLineStyle: TPenStyle read FTitleColLineStyle write SetTitleColLineStyle default psSolid;
Published property ColumnFontStyleColor: boolean read FColumnFontStyleColor write SetColumnFontStyleColor default false;
Published property TitleFontStyleColor: boolean read FTitleFontStyleColor write SetTitleFontStyleColor default false;

Description

Properties

Public property ActiveRowOriginalColorShadowLuminance: integer read FActiveRowOriginalColorShadowLuminance write FActiveRowOriginalColorShadowLuminance;

luminance for original cell color if gradient for active row is used

Published property ActiveRowGradient: boolean read FActiveRowGradient write SetActiveRowGradient default false;

show active row color as gradient from original column color (see also ColorActiveRow

Published property SkipCellHighlight: boolean read FSkipCellHighlight write FSkipCellHighlight default false;

disable cell highlight

Published property DrawRowFocus: boolean read FDrawRowFocus write SetDrawRowFocus default false;

show focus rectangle for all active row

Published property DrawColoredRow: boolean read FDrawColoredRow write SetDrawColoredRow default false;

each second row is colored with color defined by ColorOddRow

Published property HighlightMultiselect: boolean read FHighlightMultiselect write SetHighlightMultiselect default true;

mutiselected rows are highlighted or colored

Published property HideHScrollBar: boolean read FHideHScrollBar write SetHideHScrollBar default false;

hide horizontal scrollbar

Published property StandardTabKey: boolean read FStandardTabKey write FStandardTabKey default false;

tab key in not edit mode select next control

Published property ReturnAsTabKey: boolean read FReturnAsTabKey write FReturnAsTabKey default false;

return key in not edit mode select next column or row (as tab key)

Published property DragCell: boolean read FDragCell write FDragCell default false;

enable dragging of cell value to other controls

Published property DragToScrollData: boolean read FDragToScrollData write FDragToScrollData default false;

enable using drag and move to scroll data in the grid

Published property HintMaxLength: integer read FHintMaxLength write FHintMaxLength default 2000;

maximal number of chars in the hint message

Published property ColumnMinWidth: integer read FColumnMinWidth write FColumnMinWidth default 40;

minimal column width used for AutoFit and SetColumnWidth

Published property ColumnMaxWidth: integer read FColumnMaxWidth write FColumnMaxWidth default 200;

miximal column width used for AutoFit and SetColumnWidth

Published property ColumnWidthMaxRecordsSearch: integer read FColumnWidthMaxRecordsSearch write FColumnWidthMaxRecordsSearch default 2000;

maximal count of records searched during "data column width"

Published property LookupResetDelay: cardinal read FLookupResetDelay write FLookupResetDelay default 2500;

define delay from last key press to lookup reset

Published property DataRowLineColor: TColor read FDataRowLineColor write SetDataRowLineColor default clNone;

define own color of row line in data grid, use clNone for standard line

Published property DataRowLineStyle: TPenStyle read FDataRowLineStyle write SetDataRowLineStyle default psSolid;

define own style of row line in data grid

Published property DataColLineColor: TColor read FDataColLineColor write SetDataColLineColor default clNone;

define own color of column line in data grid, use clNone for standard line

Published property DataColLineStyle: TPenStyle read FDataColLineStyle write SetDataColLineStyle default psSolid;

define own style of column line in data grid

Published property DataRowInFixedColsAsTitle: boolean read FDataRowInFixedColsAsTitle write SetDataRowInFixedColsAsTitle default false;

define if row line for fixed columns ar the same as in title

Published property TitleRowLineColor: TColor read FTitleRowLineColor write SetTitleRowLineColor default clNone;

define own color of row line in title/fixed part of grid, use clNone for standard line

Published property TitleRowLineStyle: TPenStyle read FTitleRowLineStyle write SetTitleRowLineStyle default psSolid;

define own style of row line in title/fixed part of grid

Published property TitleColLineColor: TColor read FTitleColLineColor write SetTitleColLineColor default clNone;

define own color of column line in title/fixed part of grid, use clNone for standard line

Published property TitleColInGroupLineColor: TColor read FTitleColInGroupLineColor write SetTitleColInGroupLineColor default clNone;

define own color of column line in title of grid inside the defined group, use clNone for standard line

Published property TitleColLineStyle: TPenStyle read FTitleColLineStyle write SetTitleColLineStyle default psSolid;

define own style of column line in title/fixed part of grid

Published property ColumnFontStyleColor: boolean read FColumnFontStyleColor write SetColumnFontStyleColor default false;

define if custom font color is replaced by style font color for columns

Published property TitleFontStyleColor: boolean read FTitleFontStyleColor write SetTitleFontStyleColor default false;

define if custom font color is replaced by style font color for titles


Generated by PasDoc 0.15.0.