?? archives_query.h
字號(hào):
//---------------------------------------------------------------------------
#ifndef Archives_QueryH
#define Archives_QueryH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <ComCtrls.hpp>
#include <Mask.hpp>
#include <ImgList.hpp>
#include <Buttons.hpp>
#include <ADODB.hpp> //用戶(hù)添加AQO控件庫(kù)文件
//---------------------------------------------------------------------------
class TF_Query : public TForm
{
__published: // IDE-managed Components
TPanel *Panel1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TComboBox *CB_Cond;
TMaskEdit *ME_Data;
TLabel *Label4;
TRadioGroup *RG_Cond;
TBitBtn *BB_Database;
TBitBtn *BB_Close;
TListView *LV_SQL;
TBitBtn *BB_Add;
TBitBtn *BB_Delete;
TBitBtn *BB_Query;
TSpeedButton *SButton1;
TComboBox *CBE_Field;
void __fastcall BB_AddClick(TObject *Sender);
void __fastcall CBE_FieldChange(TObject *Sender);
void __fastcall SButton1Click(TObject *Sender);
void __fastcall BB_DeleteClick(TObject *Sender);
void __fastcall BB_QueryClick(TObject *Sender);
void __fastcall BB_CloseClick(TObject *Sender);
void __fastcall BB_DatabaseClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TF_Query(TComponent* Owner);
TStringList *S_Field; //用來(lái)存放查找字段字符串
TStringList *N_Field; //用來(lái)存放查找字段名
TADOQuery *Query; //定義一個(gè)查詢(xún)控件對(duì)象
AnsiString Q_Table; //查找表名
char T_Field[5]; //用來(lái)存放查找字段類(lèi)型,0表示整數(shù)類(lèi)型,1表示字符串字段,2表示日期字段
};
//---------------------------------------------------------------------------
extern PACKAGE TF_Query *F_Query;
//---------------------------------------------------------------------------
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -