Class TOptionsFilters
Unit
rDBGrid
Declaration
type TOptionsFilters = class(TPersistent)
Description
setting for TrDBGrid filters, part of TOptionsEx2
Hierarchy
- TPersistent
- TOptionsFilters
Overview
Methods
Properties
 |
property FunnelBtn: boolean read FFunnelBtn write SetFunnelBtn default false; |
 |
property FunnelBtnActiveOnly: boolean read FFunnelBtnActiveOnly write FFunnelBtnActiveOnly default false; |
 |
property MultiFieldFilter: boolean read FMultiFieldFilter write FMultiFieldFilter default false; |
 |
property TextBar: boolean read FTextBar write SetTextBar default false; |
 |
property TextBarTopLayout: boolean read FTextBarTopLayout write SetTextBarTopLayout default false; |
 |
property TextMarginX: integer read FTextMarginX write SetTextMarginX default 2; |
 |
property TextMarginY: integer read FTextMarginY write SetTextMarginY default 1; |
 |
property TextBkColor: TColor read FTextBkColor write SetTextBkColor default clWindow; |
 |
property TextListAutoLoad: boolean read FTextListAutoLoad write FTextListAutoLoad default false; |
 |
property TextListAddFilter: boolean read FTextListAddFilter write FTextListAddFilter default true; |
 |
property TextFilterType: TOptionTextFilterType read FTextFilterType write FTextFilterType default oftAnyPos; |
 |
property TextFilterLikeChar: char read FTextFilterLikeChar write FTextFilterLikeChar default #0; |
 |
property TextFilterLikeOperator: string read FTextFilterLikeOperator write FTextFilterLikeOperator; |
 |
property TextComboStyle: TComboBoxStyle read FTextComboStyle write SetTextComboStyle default csDropDown; |
 |
property UseDatePartAsRange: boolean read FUseDatePartAsRange write FUseDatePartAsRange default true; |
 |
property UseNumberPartAsRange: boolean read FUseNumberPartAsRange write FUseNumberPartAsRange default true; |
 |
property NumberPartWildChar: char read FNumberPartWildChar write FNumberPartWildChar default '*'; |
 |
property SetFilterDelay: cardinal read FSetFilterDelay write FSetFilterDelay default 1000; |
Description
Methods
 |
destructor Destroy; override; |
|
 |
function GetTextFilterLikeChar: char; |
|
 |
function GetTextFilterLikeOperator: string; |
|
Properties
 |
property FunnelBtn: boolean read FFunnelBtn write SetFunnelBtn default false; |
show funnel buttons in the title row
|
 |
property FunnelBtnActiveOnly: boolean read FFunnelBtnActiveOnly write FFunnelBtnActiveOnly default false; |
show funnel glyphs for cell with active filter or hottrack title cell
|
 |
property MultiFieldFilter: boolean read FMultiFieldFilter write FMultiFieldFilter default false; |
enable combination of funnel filter for more coluumns (AND condition)
|
 |
property TextBar: boolean read FTextBar write SetTextBar default false; |
show text edit to enter filter text
|
 |
property TextBarTopLayout: boolean read FTextBarTopLayout write SetTextBarTopLayout default false; |
show text edit above title text
|
 |
property TextMarginX: integer read FTextMarginX write SetTextMarginX default 2; |
free space on left and right border
|
 |
property TextMarginY: integer read FTextMarginY write SetTextMarginY default 1; |
free space on top and bottom border
|
 |
property TextBkColor: TColor read FTextBkColor write SetTextBkColor default clWindow; |
background color of text edit
|
 |
property TextListAutoLoad: boolean read FTextListAutoLoad write FTextListAutoLoad default false; |
load filter picklist from the dataset values
|
 |
property TextListAddFilter: boolean read FTextListAddFilter write FTextListAddFilter default true; |
add entered value for filter to the picklist
|
 |
property TextFilterLikeChar: char read FTextFilterLikeChar write FTextFilterLikeChar default #0; |
define used LIKE char for filter
|
 |
property TextFilterLikeOperator: string read FTextFilterLikeOperator write FTextFilterLikeOperator; |
define used LIKE operator for filter
|
 |
property TextComboStyle: TComboBoxStyle read FTextComboStyle write SetTextComboStyle default csDropDown; |
define style of text filter combo
|
 |
property UseDatePartAsRange: boolean read FUseDatePartAsRange write FUseDatePartAsRange default true; |
enable range filtering for date field by entering of year or month+year only
|
 |
property UseNumberPartAsRange: boolean read FUseNumberPartAsRange write FUseNumberPartAsRange default true; |
enable range filtering for numeric field by entering of numer with wild char on last digits (120* => x>=1200 and x<1201
|
 |
property NumberPartWildChar: char read FNumberPartWildChar write FNumberPartWildChar default '*'; |
define used wild char for UseNumberPartAsRange
|
 |
property SetFilterDelay: cardinal read FSetFilterDelay write FSetFilterDelay default 1000; |
delay for automatic activation of filter after text edit change
|
Generated by PasDoc 0.15.0.
|