📄 yuadbgrid.h
字号:
//---------------------------------------------------------------------------
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -