// CodeGear C++Builder
// Copyright (c) 1995, 2013 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'DBGridEh.pas' rev: 25.00 (Windows)
#ifndef DbgridehHPP
#define DbgridehHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member
#pragma pack(push,8)
#include <System.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.Generics.Collections.hpp> // Pascal unit
#include <Winapi.Windows.hpp> // Pascal unit
#include <System.SysUtils.hpp> // Pascal unit
#include <Winapi.Messages.hpp> // Pascal unit
#include <System.Classes.hpp> // Pascal unit
#include <Vcl.Controls.hpp> // Pascal unit
#include <Vcl.Forms.hpp> // Pascal unit
#include <Vcl.StdCtrls.hpp> // Pascal unit
#include <System.Contnrs.hpp> // Pascal unit
#include <System.Variants.hpp> // Pascal unit
#include <System.Types.hpp> // Pascal unit
#include <Vcl.Themes.hpp> // Pascal unit
#include <Winapi.UxTheme.hpp> // Pascal unit
#include <System.UITypes.hpp> // Pascal unit
#include <EhLibVCL.hpp> // Pascal unit
#include <Data.DBConsts.hpp> // Pascal unit
#include <System.RTLConsts.hpp> // Pascal unit
#include <Vcl.Graphics.hpp> // Pascal unit
#include <Vcl.DBCtrls.hpp> // Pascal unit
#include <Data.DB.hpp> // Pascal unit
#include <Vcl.Menus.hpp> // Pascal unit
#include <System.Win.Registry.hpp> // Pascal unit
#include <DBSumLst.hpp> // Pascal unit
#include <DBCtrlsEh.hpp> // Pascal unit
#include <GridsEh.hpp> // Pascal unit
#include <GridToolCtrlsEh.hpp> // Pascal unit
#include <SearchPanelsEh.hpp> // Pascal unit
#include <DBAxisGridsEh.hpp> // Pascal unit
#include <DBLookupUtilsEh.hpp> // Pascal unit
#include <DBGridEhToolCtrls.hpp> // Pascal unit
#include <DBGridEhGrouping.hpp> // Pascal unit
#include <PropFilerEh.hpp> // Pascal unit
#include <MemTreeEh.hpp> // Pascal unit
#include <System.IniFiles.hpp> // Pascal unit
#include <ToolCtrlsEh.hpp> // Pascal unit
#include <Vcl.ImgList.hpp> // Pascal unit
#include <Vcl.StdActns.hpp> // Pascal unit
#include <Vcl.ActnList.hpp> // Pascal unit
#include <Vcl.ExtCtrls.hpp> // Pascal unit
#include <DynVarsEh.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Dbgrideh
{
//-- type declarations -------------------------------------------------------
enum DECLSPEC_DENUM TDBGridOption : unsigned char { dgEditing, dgAlwaysShowEditor, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgMultiSelect };
typedef System::Set<TDBGridOption, TDBGridOption::dgEditing, TDBGridOption::dgMultiSelect> TDBGridOptions;
enum DECLSPEC_DENUM TColumnFooterEhValue : unsigned char { cvFooterAlignment, cvFooterFont, cvFooterColor, cvFooterToolTips };
typedef System::Set<TColumnFooterEhValue, TColumnFooterEhValue::cvFooterAlignment, TColumnFooterEhValue::cvFooterToolTips> TColumnFooterValues;
enum DECLSPEC_DENUM TColumnEhRestoreParam : unsigned char { crpColIndexEh, crpColWidthsEh, crpSortMarkerEh, crpColVisibleEh, crpDropDownRowsEh, crpDropDownWidthEh, crpRowPanelColPlacementEh };
typedef System::Set<TColumnEhRestoreParam, TColumnEhRestoreParam::crpColIndexEh, TColumnEhRestoreParam::crpRowPanelColPlacementEh> TColumnEhRestoreParams;
enum DECLSPEC_DENUM TDBGridEhRestoreParam : unsigned char { grpColIndexEh, grpColWidthsEh, grpSortMarkerEh, grpColVisibleEh, grpRowHeightEh, grpDropDownRowsEh, grpDropDownWidthEh, grpRowPanelColPlacementEh };
typedef System::Set<TDBGridEhRestoreParam, TDBGridEhRestoreParam::grpColIndexEh, TDBGridEhRestoreParam::grpRowPanelColPlacementEh> TDBGridEhRestoreParams;
class DELPHICLASS TColumnEh;
typedef void __fastcall (__closure *TCheckTitleEhBtnEvent)(System::TObject* Sender, int ACol, TColumnEh* Column, bool &Enabled);
typedef void __fastcall (__closure *TDrawColumnEhCellEvent)(System::TObject* Sender, const System::Types::TRect &Rect, int DataCol, TColumnEh* Column, Gridseh::TGridDrawState State);
typedef void __fastcall (__closure *TGetCellEhParamsEvent)(System::TObject* Sender, TColumnEh* Column, Vcl::Graphics::TFont* AFont, System::Uitypes::TColor &Background, Gridseh::TGridDrawState State);
typedef void __fastcall (__closure *TTitleEhClickEvent)(System::TObject* Sender, int ACol, TColumnEh* Column);
typedef void __fastcall (__closure *TOnColumnCheckDrawRequiredStateEventEh)(System::TObject* Sender, System::UnicodeString Text, bool &DrawState);
typedef bool __fastcall (__closure *TGridMoveRecordsEventEh)(System::TObject* Sender, Toolctrlseh::TBMListEh* BookmarkList, int ToRecNo, int TreeLevel, bool CheckOnly);
class DELPHICLASS TCustomDBGridEh;
typedef void __fastcall (__closure *TDBGridEhBuildIndicatorTitleMenu)(TCustomDBGridEh* Grid, Vcl::Menus::TPopupMenu* &PopupMenu);
typedef void __fastcall (__closure *TDBGridEhGetColorEvent)(TCustomDBGridEh* Grid, System::Uitypes::TColor &Color);
typedef void __fastcall (__closure *TGridDataGroupFooterItemAggregateValueEvent)(TCustomDBGridEh* Grid, TColumnEh* Column, Dbgridehgrouping::TGridDataGroupFooterEh* GroupFooter, Dbgridehgrouping::TGridDataGroupFooterColumnItemEh* FooterColumnItem, System::Variant &AValue, Dbgridehgrouping::TGroupDataTreeNodeEh* Node, bool &Processed);
typedef void __fastcall (__closure *TGridDataGroupFooterItemFinalizeValueEvent)(TCustomDBGridEh* Grid, TColumnEh* Column, Dbgridehgrouping::TGridDataGroupFooterEh* GroupFooter, Dbgridehgrouping::TGridDataGroupFooterColumnItemEh* FooterColumnItem, System::Variant &AValue, bool &Processed);
typedef void __fastcall (__closure *TGridDataGroupFooterItemToDisplayTextEvent)(TCustomDBGridEh* Grid, TColumnEh* Column, Dbgridehgrouping::TGridDataGroupFooterEh* GroupFooter, Dbgridehgrouping::TGridDataGroupFooterColumnItemEh* FooterColumnItem, System::Variant &AValue, System::UnicodeString &DisplayValue, bool &Processed);
typedef void __fastcall (__closure *TDBGridSimpleTextApplyFilterEh)(TCustomDBGridEh* Sender, TColumnEh* Column, Data::Db::TDataSet* DataSet, System::UnicodeString FieldName, Toolctrlseh::TLSAutoFilterTypeEh Operation, System::UnicodeString FilterText);
typedef void __fastcall (__closure *TDBGridNavigatorPanelButtonClickEventEh)(TCustomDBGridEh* Sender, Dbgridehtoolctrls::TNavigateBtnEh AButton, bool &Processed);
typedef System::DynamicArray<System::Byte> _dt_Dbgrideh_1;
typedef void __fastcall (__closure *TDBGridSelectedRowsItemChangedEh)(TCustomDBGridEh* Sender, _dt_Dbgrideh_1 Item, System::Classes::TListNotification Action);
typedef void __fastcall (__closure *TGridSearchEditChangeEventEh)(TCustomDBGridEh* Grid, Dbgridehtoolctrls::TDBGridSearchPanelTextEditEh* SearchEdit);
typedef void __fastcall (__closure *TGridSearchEditKeyPressEventEh)(TCustomDBGridEh* Grid, Dbgridehtoolctrls::TDBGridSearchPanelTextEditEh* SearchEdit, System::WideChar &Key);
typedef void __fastcall (__closure *TGridSearchEditKeyEventEh)(TCustomDBGridEh* Grid, Dbgridehtoolctrls::TDBGridSearchPanelTextEditEh* SearchEdit, System::Word &Key, System::Classes::TShiftState Shift);
typedef void __fastcall (__closure *TCheckColumnValueAcceptEventEh)(TColumnEh* Column, bool &Accept);
typedef void __fastcall (__closure *TGridSearchPanelCheckColumnValueAcceptEventEh)(TCustomDBGridEh* Grid, TColumnEh* Column, bool &Accept);
typedef void __fastcall (__closure *TDBGridGetHighlightStringsEventEh)(TCustomDBGridEh* Grid, TColumnEh* Column, System::TStringDynArray &Strings);
class DELPHICLASS TDBGridCellButtonEh;
typedef void __fastcall (__closure *TDBGridCellButtonGetEnabledStateEventEh)(TCustomDBGridEh* Grid, TColumnEh* Column, TDBGridCellButtonEh* CellButton, bool &ButtonEnabled);
typedef void __fastcall (__closure *TDrawDBGridCellButtonEventEh)(TCustomDBGridEh* Grid, TColumnEh* Column, TDBGridCellButtonEh* CellButt
- 1
- 2
前往页