// CodeGear C++Builder
// Copyright (c) 1995, 2009 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Smiebldr.pas' rev: 21.00

#ifndef SmiebldrHPP
#define SmiebldrHPP

#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 <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Extctrls.hpp>	// Pascal unit
#include <Smipars.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit

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

namespace Smiebldr
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TfrmSMIExpBuilder;
class PASCALIMPLEMENTATION TfrmSMIExpBuilder : public Forms::TForm
{
	typedef Forms::TForm inherited;
	
__published:
	Stdctrls::TMemo* memoExpression;
	Controls::TImageList* imgList;
	Extctrls::TPanel* pnlLists;
	Extctrls::TImage* imgData;
	Stdctrls::TButton* btnPlus;
	Stdctrls::TButton* btnMinus;
	Stdctrls::TButton* btnMul;
	Stdctrls::TButton* btnDiv;
	Stdctrls::TButton* btnEQ;
	Stdctrls::TButton* btnGT;
	Stdctrls::TButton* btnLT;
	Stdctrls::TButton* btnNE;
	Stdctrls::TButton* btnAND;
	Stdctrls::TButton* btnOR;
	Stdctrls::TButton* btnNOT;
	Stdctrls::TButton* btnLParen;
	Stdctrls::TButton* btnRParen;
	Stdctrls::TLabel* lblHint;
	Stdctrls::TListBox* lbType;
	Stdctrls::TListBox* lbSubType;
	Stdctrls::TListBox* lbValue;
	Stdctrls::TLabel* lblHintBody;
	Stdctrls::TButton* btnOk;
	Stdctrls::TButton* btnCancel;
	Stdctrls::TButton* btnValidate;
	void __fastcall ValueAdd(System::TObject* Sender);
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall FormDestroy(System::TObject* Sender);
	void __fastcall lbTypeClick(System::TObject* Sender);
	void __fastcall lbSubTypeClick(System::TObject* Sender);
	void __fastcall lbValueClick(System::TObject* Sender);
	void __fastcall lbTypeDrawItem(Controls::TWinControl* Control, int Index, const Types::TRect &Rect, Windows::TOwnerDrawState State);
	void __fastcall btnValidateClick(System::TObject* Sender);
	void __fastcall FormResize(System::TObject* Sender);
	
private:
	void __fastcall FillItems(Classes::TStrings* lstFrom, Classes::TStrings* lstTo, int intIndex);
	System::UnicodeString __fastcall GetPureFunc(System::UnicodeString s, int Mode);
	
protected:
	MESSAGE void __fastcall WMMinMaxInfo(Messages::TWMGetMinMaxInfo &Msg);
	
public:
	Classes::TStrings* lstSubType;
	Classes::TStrings* lstValue;
	bool IsHumanNames;
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfrmSMIExpBuilder(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmSMIExpBuilder(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmSMIExpBuilder(void) { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmSMIExpBuilder(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE bool __fastcall ExpressionBuilder(System::UnicodeString &Expression, Classes::TList* DataSets, Classes::TStrings* SourceColumns, Smipars::TSMIParameters* Variables, bool UseHumanNames);

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

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