DBGrid DeLuxe
Properties (details):
Types are mentioned, if not yet obvious by the property's name.
Aside from the properties listed below DBGrid DeLuxe owns all the properties of TDBGrid. Special 32 bit features like TColumns and Multiselect are fully supported!
(*: Published and/or modified properties of T(Custom)DBGrid.)
public
- * Canvas
- * Col
- * ColCount
- * EditorMode
- * InplaceEditor
- InplaceMemo: TInplaceMemoEditor
Memofield editor. Its properties can either be configured using StyleMemo, or be read and altered at runtime. At runtime all of its properties (like TMemo) can be addressed.- * Row
- * RowCount
published
- * FixedColor
Color of indicator column.- FixedDataColor
Color of fixed data columns.- FixedDataCols: Integer
Number of fixed data columns.- FixedDataFont
Font of fixed data columns.- IndicatorColor
Color of indicator symbols.- OptionsDP: set of (dpColMoving, dpFixedVertLine, dpFixedHorzLine, dpRowSizing, dp3DFixedDataCols dpEnterFixedDataCols, dpMoveFixedDataCols)
dpColMoving, dpFixedVertLine, dpFixedHorzLine, dpRowSizing: Important reactivated properties, as known from StringGrids. We adapted them to the changed requirements of a DBGrid and the DeLuxe extensions.
dp3DFixedDataCols: Fixed data columns can appear in the 3D look of the other fixed areas or in the 2D look of ordinary data cells.
dpEnterFixedDataCols: Fixed may optionally be entered, if they are at their default index position. They are locked only when shown in a horizontally scrolled grid. At their default position they may be entered and during this they change to ordinary data cells. If this Option is not set, fixed data cells are always locked.
dpMoveFixedDataCols: Moreover, it may be wanted or not that an entered fixed data column can be exchanged by column movements.- RowHeight
Row height of data cells. Important for multiline output, e.g. of memofields, but also other field types with their Wordwrap property set.
If dpRowSizing is set, RowHeight can be adjusted in the grid.- * TitleColor
Default background color of the title row.- * TitleFont
Default font of the title row.- TitleHeight
Height of the title row. Allows multiline titles with wordwrapping.- StartField
Field, which will be selected when creating the grid.- StyleBoolean
- SwitchMode: (swStandard, swStandardOrClick)
For boolean fields one can choose between the known and an additionally mouse sensitive behavior: As usual, a first click opens the editor, if not already active. A single click within the open editor toggles the field value (and its text output). A double click does the same without opening the editor.- StyleMemo
- EditorActive: Boolean
Only at EditorActive the memo editor is used. Otherwise any editor (also the default field editor!) is suppressed in memo fields.- EditorMaxLength: Integer
Number of characters for input limit. 0 = only system limits.- EditorScrollbars: TScrollStyle
The scrollbars to be shown.- EditorStartPos: (spAutoSelect, spTop, spBottom, spClick)
If the memo editor is started by mouse click, F2 or typed characters, it can be determined, wether the cursor shall be placed on top or end of the text or at the current mouse position. Also an AutoSelect (select all, end of text) can be chosen.- ShowMode: (smData, smText)
As table output can be shown either the content (smData) of memofields or stored text.- TextOnData: String
Output text, if the memofield contains data.- TextOnNull: String
Output text, if the memofield is empty.- WordWrap: Boolean
Wordwrap for output and editor.- StyleString
- WordWrap: Boolean
Wordwrap for output.- WordWrap: Boolean
Wordwrap for the output of other text based field types. With the ability of multiline data output it may be wanted to force an uncut output for the other field types.
Hint: It is possible and especially useful for field style related properties to make dynamical changes at runtime (e.g. on column events).
New events:
New public methods:
Ancestor bugs/misbehavior fixed:
TInplaceMemoEditor: