yuadbgrid.h
来自「扩充了C++ Builder DBGRID 控件的功能」· C头文件 代码 · 共 38 行
H
38 行
//---------------------------------------------------------------------------
#ifndef YUADBGridH
#define YUADBGridH
//---------------------------------------------------------------------------
#include <SysUtils.hpp>
#include <Classes.hpp>
#include <Controls.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
//---------------------------------------------------------------------------
//typedef void __fastcall (__closure *TDrawColumnCellEvent)(System::TObject* Sender, const Types::TRect &Rect, int DataCol, TColumn* Column, Grids::TGridDrawState State);
class PACKAGE TDBGridPro : public TDBGrid
{
private:
void __fastcall (__closure *DBGridOldProc)(Messages::TMessage &Message);
void __fastcall DBGridMouseWheelProc(TMessage &Message);
protected:
//TNotifyEvent FOnDrawColumnCell;
//virtual
//void __fastcall DrawColumnCell(System::TObject* Sender, const Types::TRect &Rect, int DataCol, TColumn* Column, Grids::TGridDrawState State);
public:
__fastcall TDBGridPro(TComponent* Owner);
__published:
// Overidden Events
//__property TDrawColumnCellEvent OnDrawColumnCell = {read=FOnDrawColumnCell, write=FOnDrawColumnCell};
//__property TNotifyEvent OnDrawColumnCell = {read=FOnDrawColumnCell,write=FOnDrawColumnCell};
};
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?