wwaddlk.hpp

来自「infopower 4000 for delphi 2006」· HPP 代码 · 共 115 行

HPP
115
字号
// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Wwaddlk.pas' rev: 10.00

#ifndef WwaddlkHPP
#define WwaddlkHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Db.hpp>	// Pascal unit
#include <Dbtables.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <Wwgttbl.hpp>	// Pascal unit
#include <Wwcommon.hpp>	// Pascal unit
#include <Wwstr.hpp>	// Pascal unit
#include <Wwtable.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Wwaddlk
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TwwAddLookupForm;
class PASCALIMPLEMENTATION TwwAddLookupForm : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Stdctrls::TGroupBox* TableNameCaption;
	Stdctrls::TLabel* Label6;
	Stdctrls::TComboBox* FieldNameComboBox;
	Stdctrls::TGroupBox* GroupBox2;
	Stdctrls::TLabel* MasterFieldsCaption;
	Stdctrls::TLabel* IndexFieldsCaption;
	Stdctrls::TLabel* Label7;
	Stdctrls::TListBox* MasterFieldsList;
	Stdctrls::TListBox* IndexFieldsList;
	Stdctrls::TComboBox* IndexComboBox;
	Buttons::TBitBtn* OKBtn;
	Buttons::TBitBtn* CancelBtn;
	Buttons::TBitBtn* HelpBtn;
	Stdctrls::TListBox* JoinedFieldsList;
	Stdctrls::TLabel* Label5;
	Stdctrls::TButton* Button1;
	Buttons::TBitBtn* AddJoinButton;
	Stdctrls::TButton* Button2;
	Wwtable::TwwTable* Table1;
	void __fastcall IndexComboBoxChange(System::TObject* Sender);
	void __fastcall IndexFieldsListClick(System::TObject* Sender);
	void __fastcall MasterFieldsListClick(System::TObject* Sender);
	void __fastcall AddJoinButtonClick(System::TObject* Sender);
	void __fastcall Button1Click(System::TObject* Sender);
	void __fastcall Button2Click(System::TObject* Sender);
	void __fastcall FormActivate(System::TObject* Sender);
	void __fastcall FieldNameComboBoxChange(System::TObject* Sender);
	void __fastcall FormKeyDown(System::TObject* Sender, Word &Key, Classes::TShiftState Shift);
	
private:
	Db::TDataSet* MasterTable;
	bool firstTime;
	
public:
	AnsiString databaseName;
	AnsiString tableName;
	AnsiString fieldName;
	AnsiString indexName;
	AnsiString indexFields;
	AnsiString joins;
	char useExtension;
	__fastcall virtual TwwAddLookupForm(Classes::TComponent* AOwner);
public:
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TwwAddLookupForm(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TwwAddLookupForm(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TwwAddLookupForm(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TwwAddLookupForm* wwAddLookupForm;
extern PACKAGE bool __fastcall wwAddLookupfield(AnsiString &aDbName, AnsiString &aTblName, AnsiString &aFieldName, AnsiString &aIndex, AnsiString &aIndexFields, AnsiString &aJoins, char &aUseExtension, Db::TDataSet* aMasterTable);

}	/* namespace Wwaddlk */
using namespace Wwaddlk;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Wwaddlk

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?