home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
FLDLINKS.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
4KB
|
121 lines
//----------------------------------------------------------------------------
// Fldlinks.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: Fldlinks.pas
//----------------------------------------------------------------------------
#ifndef FldlinksHPP
#define FldlinksHPP
//----------------------------------------------------------------------------
#include <DsgnIntf.hpp>
#include <Buttons.hpp>
#include <DBTables.hpp>
#include <DB.hpp>
#include <ExtCtrls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysUtils.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Fldlinks
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TLinkFields;
class __declspec(pascalimplementation) TLinkFields : public Forms::TForm
{
typedef Forms::TForm inherited;
__published:
Stdctrls::TListBox* DetailList;
Stdctrls::TListBox* MasterList;
Stdctrls::TListBox* BindList;
Stdctrls::TLabel* Label30;
Stdctrls::TLabel* Label31;
Stdctrls::TComboBox* IndexList;
Stdctrls::TLabel* IndexLabel;
Dbtables::TTable* Table1;
Stdctrls::TLabel* Label2;
Extctrls::TBevel* Bevel1;
Extctrls::TBevel* Bevel2;
Stdctrls::TButton* AddButton;
Stdctrls::TButton* DeleteButton;
Stdctrls::TButton* ClearButton;
Stdctrls::TButton* Button1;
Stdctrls::TButton* Button2;
Stdctrls::TButton* Help;
void __fastcall FormCreate(System::TObject* Sender);
void __fastcall IndexListChange(System::TObject* Sender);
void __fastcall BindingListClick(System::TObject* Sender);
void __fastcall AddButtonClick(System::TObject* Sender);
void __fastcall DeleteButtonClick(System::TObject* Sender);
void __fastcall BindListClick(System::TObject* Sender);
void __fastcall ClearButtonClick(System::TObject* Sender);
void __fastcall FormDestroy(System::TObject* Sender);
void __fastcall BitBtn1Click(System::TObject* Sender);
void __fastcall HelpClick(System::TObject* Sender);
private:
System::AnsiString FFullIndexName;
Classes::TStringList* OrderedDetailList;
Classes::TStringList* OrderedMasterList;
bool Local;
void __fastcall OrderFieldList(Classes::TStrings* OrderedList, Classes::TStrings* List);
public:
System::AnsiString MasterFieldList;
System::AnsiString IndexFieldList;
void __fastcall AddToBindList(const System::AnsiString Str1, const System::AnsiString Str2);
void __fastcall Initialize(Dbtables::TTable* const Table, Db::TDataSet* const DataSet);
__property System::AnsiString FullIndexName = {read=FFullIndexName, nodefault};
public:
/* TForm.Create */ __fastcall virtual TLinkFields(Classes::TComponent* AOwner) : Forms::TForm(AOwner
) { }
/* TForm.CreateNew */ __fastcall TLinkFields(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
AOwner, Dummy) { }
/* TForm.Destroy */ __fastcall virtual ~TLinkFields(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TLinkFields(HWND ParentWindow) : Forms::TForm(ParentWindow
) { }
};
class __declspec(delphiclass) TFieldLinkProperty;
class __declspec(pascalimplementation) TFieldLinkProperty : public Dsgnintf::TPropertyEditor
{
typedef Dsgnintf::TPropertyEditor inherited;
public:
virtual void __fastcall Edit(void);
virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
virtual System::AnsiString __fastcall GetValue(void);
virtual void __fastcall SetValue(const System::AnsiString Value);
public:
/* TPropertyEditor.Destroy */ __fastcall virtual ~TFieldLinkProperty(void) { }
public:
/* TObject.Create */ __fastcall TFieldLinkProperty(void) : Dsgnintf::TPropertyEditor() { }
};
//-- var, const, procedure ---------------------------------------------------
extern TLinkFields* LinkFields;
} /* namespace Fldlinks */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Fldlinks;
#endif
//-- end unit ----------------------------------------------------------------
#endif // Fldlinks