📄 clientquery.h
字号:
//---------------------------------------------------------------------------
#ifndef ClientQueryH
#define ClientQueryH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include "RecBaseForm.h"
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "fpanel.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include "SDTreeView.h"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include "BaseGlobeVars.h"
#include "container.h"
#include "ClientDcom.h"
//---------------------------------------------------------------------------
class TfrmClientQuery : public TForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel1;
TPanel *Panel1;
TSplitter *Splitter1;
TSDGrid *sgGoods;
TSDTreeView *tvGoods;
TPanel *Panel2;
TLabel *Label5;
TEdit *edtLocate;
TGroupBox *GroupBox3;
TLabel *Label1;
TLabel *Label2;
TLabel *Label7;
TSDComboBox *scLoc;
TSDComboBox *scSale;
TSDComboBox *scSupply;
TBitBtn *btnQuery;
TBitBtn *btnClear;
TBitBtn *btnOK;
TBitBtn *btnCancel;
TBevel *Bevel1;
TSpeedButton *sbLocate;
TBevel *Bevel4;
TLabel *Label6;
TLabel *lbQueryCount;
TLabel *Label8;
TBevel *Bevel2;
TImageList *ImageList1;
void __fastcall btnOKClick(TObject *Sender);
void __fastcall btnClearClick(TObject *Sender);
void __fastcall btnQueryClick(TObject *Sender);
void __fastcall tvGoodsChange(TObject *Sender, TTreeNode *Node);
void __fastcall sbLocateClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall edtLocateKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
private: // User declarations
TKSSet *l_Client;
TComResultSet *RsGoods;
TComResultSet *RsGoodsQuery;
HWND l_ClientHandle ;
AnsiString l_WhereStr;
AnsiString l_TvSelect;
int cur_location;
void __fastcall ClearCondition();
void __fastcall FillGridWithData();
void __fastcall FillTreeWithPmpc();
AnsiString __fastcall GetQueryStr();
//bool __fastcall IsSimilar(AnsiString str,AnsiString substr);
public: // User declarations
__fastcall TfrmClientQuery(TComponent* Owner,HWND chWnd,TKSSet *Goods,AnsiString whereStr);
__fastcall ~TfrmClientQuery();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmClientQuery *frmClientQuery;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -