Class TOptionsEditors

Unit

Declaration

type TOptionsEditors = class(TPersistent)

Description

setting for TrDBGrid editors, part of TOptionsEx2

Hierarchy

  • TPersistent
  • TOptionsEditors

Overview

Methods

Public function ShowMemoGlyph: boolean;
Public function ShowMemoContent: boolean;
Public function ShowGraphicGlyph: boolean;
Public function ShowGraphicContent: boolean;

Properties

Published property BoolGlyphs: boolean read FBoolGlyphs write SetBoolGlyphs default true;
Published property BoolOneClickChange: boolean read FBoolOneClickChange write FBoolOneClickChange default false;
Published property BoolAutoSave: boolean read FBoolAutoSave write FBoolAutoSave default false;
Published property BoolAllowsNull: boolean read FBoolAllowsNull write FBoolAllowsNull default false;
Published property Memo: TOptionsBlobType read FMemo write SetMemo default obtGlyph;
Published property Graphic: TOptionsBlobType read FGraphic write SetGraphic default obtGlyph;
Published property DateTimePicker: boolean read FDateTimePicker write SetDateTimePicker default true;
Published property OnlyPickListValues: boolean read FOnlyPickListValues write FOnlyPickListValues default false;
Published property TextAsMemoSize: integer read FTextAsMemoSize write FTextAsMemoSize default 0;
Published property NotProcDblClick: boolean read FNotProcDblClick write FNotProcDblClick default false;
Published property NotProcMemoDblClick: boolean read FNotProcMemoDblClick write FNotProcMemoDblClick default false;
Published property NotProcGraphicDblClick: boolean read FNotProcGraphicDblClick write FNotProcGraphicDblClick default false;
Published property AllowPasteMultipleCells: boolean read FAllowPasteMultipleCells write FAllowPasteMultipleCells default false;
Published property AllowReadOnlyButton: boolean read FAllowReadOnlyButton write FAllowReadOnlyButton default false;
Published property AllowLookupFilter: boolean read FAllowLookupFilter write FAllowLookupFilter default false;
Published property AutoDropDown: boolean read FAutoDropDown write FAutoDropDown default false;
Published property AutoPickListWidth: boolean read FAutoPickListWidth write FAutoPickListWidth default true;
Published property BlockInsertByKey: boolean read FBlockInsertByKey write FBlockInsertByKey default false;

Description

Methods

Public function ShowMemoGlyph: boolean;
 
Public function ShowMemoContent: boolean;
 
Public function ShowGraphicGlyph: boolean;
 
Public function ShowGraphicContent: boolean;
 

Properties

Published property BoolGlyphs: boolean read FBoolGlyphs write SetBoolGlyphs default true;

show checkbox for boolean fields

Published property BoolOneClickChange: boolean read FBoolOneClickChange write FBoolOneClickChange default false;

change bool value after simple click instead of double click

Published property BoolAutoSave: boolean read FBoolAutoSave write FBoolAutoSave default false;

record is automatically saved after bool update if record was in browse mode before change

Published property BoolAllowsNull: boolean read FBoolAllowsNull write FBoolAllowsNull default false;

boolean field will be set to NULL by Del key and shown as empty

Published property Memo: TOptionsBlobType read FMemo write SetMemo default obtGlyph;

cell type for memo fields (none, glyph or content)

Published property Graphic: TOptionsBlobType read FGraphic write SetGraphic default obtGlyph;

cell type for graphic fields (none, glyph or content)

Published property DateTimePicker: boolean read FDateTimePicker write SetDateTimePicker default true;

use datetime picker for date field

Published property OnlyPickListValues: boolean read FOnlyPickListValues write FOnlyPickListValues default false;

limits picklist fields to the list values only

Published property TextAsMemoSize: integer read FTextAsMemoSize write FTextAsMemoSize default 0;

size of text field to show as memo

Published property NotProcDblClick: boolean read FNotProcDblClick write FNotProcDblClick default false;

block dbl-click event for all fields

Published property NotProcMemoDblClick: boolean read FNotProcMemoDblClick write FNotProcMemoDblClick default false;

block dbl-click event for memo fields, it means do not show default memo dialog

Published property NotProcGraphicDblClick: boolean read FNotProcGraphicDblClick write FNotProcGraphicDblClick default false;

block dbl-click event for graphic fields, it means do not show default graphic dialog

Published property AllowPasteMultipleCells: boolean read FAllowPasteMultipleCells write FAllowPasteMultipleCells default false;

Ctrl+V paste clipboard as multiple cell/records if possible

Published property AllowReadOnlyButton: boolean read FAllowReadOnlyButton write FAllowReadOnlyButton default false;

edit button in the cell is enabled also for read-only cells

Published property AllowLookupFilter: boolean read FAllowLookupFilter write FAllowLookupFilter default false;

allow filtering of dropdown list for the lookup fields

Published property AutoDropDown: boolean read FAutoDropDown write FAutoDropDown default false;

allow automatic dropdown after key press

Published property AutoPickListWidth: boolean read FAutoPickListWidth write FAutoPickListWidth default true;

width of dropdown picklist is set accroding items length

Published property BlockInsertByKey: boolean read FBlockInsertByKey write FBlockInsertByKey default false;

block inserting of new record by insert or down key


Generated by PasDoc 0.15.0.