Unit rDBFilterSaver

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

rDBFilterSaver provides universal dialog for saving and loading of filter strings.

Full functional demo

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TrDBFilterSaverForm universal dialog for saving and loading of filter strings.

Functions and Procedures

procedure SaveFilter(rDBGrid: TrDBGrid);
function LoadFilter(rDBGrid: TrDBGrid): boolean;
function LoadFilterNames(rDBGrid: TrDBGrid; L: TStrings): boolean;
function ActiveFilterName(rDBGrid: TrDBGrid; FilterName: string): boolean;

Variables

rDBFilterSaverForm: TrDBFilterSaverForm;

Description

Functions and Procedures

procedure SaveFilter(rDBGrid: TrDBGrid);

Show dialog for saving of current filter - user can edit filter name and save

function LoadFilter(rDBGrid: TrDBGrid): boolean;

Show DBFilterSaver dialog with list of stored filters - user can select and activate filter

function LoadFilterNames(rDBGrid: TrDBGrid; L: TStrings): boolean;

Load list of stored filters names - used for dropdown menu

function ActiveFilterName(rDBGrid: TrDBGrid; FilterName: string): boolean;

Activate stored filter

Variables

rDBFilterSaverForm: TrDBFilterSaverForm;

Public declarations

Author

Created

Feb 2003

Last Modified

Sep 2015


Generated by PasDoc 0.13.0 on 2017-06-17 14:57:21