
  <

 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
        o * Canvas
        o * Col
        o * ColCount
        o * EditorMode
        o * InplaceEditor
        o 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.
        o * Row
        o * RowCount

     published
        o * FixedColor
           Color of indicator column.
        o FixedDataColor
           Color of fixed data columns.
        o FixedDataCols: Integer
           Number of fixed data columns.
        o FixedDataFont
           Font of fixed data columns.
        o IndicatorColor
           Color of indicator symbols.
        o 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.
        o 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.
        o * TitleColor
           Default background color of the title row.
        o * TitleFont
           Default font of the title row.
        o TitleHeight
           Height of the title row. Allows multiline titles with wordwrapping.
        o StartField
           Field, which will be selected when creating the grid.
        o StyleBoolean
              o 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.
        o StyleMemo
              o EditorActive: Boolean
                 Only at EditorActive the memo editor is used. Otherwise any
                editor (also the default field editor!) is suppressed in memo
                fields.
              o EditorMaxLength: Integer
                 Number of characters for input limit. 0 = only system limits.
              o EditorScrollbars: TScrollStyle
                 The scrollbars to be shown.
              o 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.
              o ShowMode: (smData, smText)
                 As table output can be shown either the content (smData) of
                memofields or stored text.
              o TextOnData: String
                 Output text, if the memofield contains data.
              o TextOnNull: String
                 Output text, if the memofield is empty.
              o WordWrap: Boolean
                 Wordwrap for output and editor.
        o StyleString
              o WordWrap: Boolean
                 Wordwrap for output.
        o 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:
    * OnDrawTitleCell
       Drawing of a title cell can be programmed like for data cells.
    * OnRowExit/Enter
       Triggered when the old and the new data row accomodate to record
      movements.

New public methods:
    * function ColOffset: Integer
       Number of fixed Columns without data output (=indicator).
    * function ColField(ACol: Integer): TField
       The field of a column.
    * procedure ShowMemo
       Showing the MemoEditor.
    * procedure HideMemo
       Hiding the MemoEditor.

Ancestor bugs/misbehavior fixed:
    * Stable ressources each time destroyed.
    * FixedColor works (for indicator column), v. TitleColor.
    * No InplaceEditor in MemoFields, causing errors. Now output-only (with
      scrolling) or new InplaceMemoEditor.

TInplaceMemoEditor:
    * Descendant of TCustomMemo.
    * Public and published properties equal TMemo.
