Class TOptionsFilters
Unit
rDBGrid
Declaration
type TOptionsFilters = class(TPersistent)
Description
setting for TrDBGrid filters, part of TOptionsEx2
Hierarchy
- TPersistent
- TOptionsFilters
Overview
Methods
Properties
|
property EditValues: TStrings read FEditValues; |
|
property TextValueList: TMemIniFile read FEditValueList; |
|
property FilterPanelPaddingHeight: integer read FFilterPanelPaddingHeight write SetFilterPanelPaddingHeight; |
|
property FilterPanelComboMaxWidth: integer read FFilterPanelComboMaxWidth write FFilterPanelComboMaxWidth; |
|
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; |
|
property FilterPanel: boolean read FFilterPanel write SetFilterPanel default false; |
|
property FilterPanelColor: TColor read FFilterPanelColor write SetFilterPanelColor default $00D6D6D6; |
|
property FilterPanelButtonList: string read FFilterPanelButtonList write SetFilterPanelButtonList; |
Description
Methods
|
function GetTextFilterLikeChar: char; |
return like char used for filter
|
|
function GetTextFilterLikeOperator: string; |
return like operator used for filter
|
|
function FilterPanelRect: TRect; |
return rectangle of footer filter panel row
|
Properties
|
property EditValues: TStrings read FEditValues; |
list of active values in the text bar per fields
|
|
property TextValueList: TMemIniFile read FEditValueList; |
list of combo items in the text bar per fields (INI file format)
|
|
property FilterPanelPaddingHeight: integer read FFilterPanelPaddingHeight write SetFilterPanelPaddingHeight; |
height padding for filter panel (added to default combo height)
|
|
property FilterPanelComboMaxWidth: integer read FFilterPanelComboMaxWidth write FFilterPanelComboMaxWidth; |
maximal width of combo in the filter panel
|
|
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 only 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 bar to enter filter text in the title row
|
|
property TextBarTopLayout: boolean read FTextBarTopLayout write SetTextBarTopLayout default false; |
show text edit bar above title text
|
|
property TextMarginX: integer read FTextMarginX write SetTextMarginX default 2; |
free space on left and right between text edit and cell border
|
|
property TextMarginY: integer read FTextMarginY write SetTextMarginY default 1; |
free space on top and bottom between text edit and cell 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 values from the dataset values (dataset scan is needed, do not use for large dataset)
|
|
property TextListAddFilter: boolean read FTextListAddFilter write FTextListAddFilter default true; |
add entered value for filter to the picklist
|
|
property TextFilterType: TOptionTextFilterType read FTextFilterType write FTextFilterType default oftAnyPos; |
comparison type for text filter (defines automatic usage of Like Char, can be entered also manualy)
|
|
property TextFilterLikeChar: char read FTextFilterLikeChar write FTextFilterLikeChar default #0; |
define used LIKE char for filter, global setting from RosiGlobalSetting is used if not set
|
|
property TextFilterLikeOperator: string read FTextFilterLikeOperator write FTextFilterLikeOperator; |
define used LIKE operator for filter, global setting from RosiGlobalSetting is used if not set
|
|
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
|
|
property FilterPanel: boolean read FFilterPanel write SetFilterPanel default false; |
show filter panel in footer row with active filter condition and filter MRU, optionaly with additional custom buttons
|
|
property FilterPanelColor: TColor read FFilterPanelColor write SetFilterPanelColor default $00D6D6D6; |
background color of the filter panel
|
|
property FilterPanelButtonList: string read FFilterPanelButtonList write SetFilterPanelButtonList; |
list of image indexes (comma separated) for custom buttons in the filter panel, event OnFilterPanelButtonClick is called
|
Generated by PasDoc 0.15.0.
|