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

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

#ifndef CcedlinkHPP
#define CcedlinkHPP

#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 <Classes.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Advgrid.hpp>	// Pascal unit
#include <Colcombo.hpp>	// Pascal unit

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

namespace Ccedlink
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TColumnComboEditLink;
class PASCALIMPLEMENTATION TColumnComboEditLink : public Advgrid::TEditLink 
{
	typedef Advgrid::TEditLink inherited;
	
private:
	int FCellHeight;
	Colcombo::TColumnComboBox* FCombo;
	bool FFlat;
	int FDropHeight;
	int FDropWidth;
	bool FEtched;
	Classes::TStrings* FItems;
	int FColumns;
	int FEditColumn;
	bool FGridLines;
	Graphics::TColor FEditColor;
	Graphics::TFont* FEditFont;
	Controls::TImageList* FImages;
	bool FLookupIncr;
	int FLookupColumn;
	void __fastcall SetItems(const Classes::TStrings* Value);
	void __fastcall SetImages(const Controls::TImageList* Value);
	
protected:
	HIDESBASE void __fastcall EditExit(System::TObject* Sender);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation AOperation);
	
public:
	__fastcall virtual TColumnComboEditLink(Classes::TComponent* AOwner);
	__fastcall virtual ~TColumnComboEditLink(void);
	virtual void __fastcall CreateEditor(Controls::TWinControl* AParent);
	virtual AnsiString __fastcall GetEditorValue();
	virtual void __fastcall SetEditorValue(AnsiString s);
	virtual Controls::TWinControl* __fastcall GetEditControl(void);
	virtual void __fastcall SetProperties(void);
	virtual void __fastcall SetCellProps(Graphics::TColor AColor, Graphics::TFont* AFont);
	virtual void __fastcall SetRect(const Types::TRect &R);
	__property Colcombo::TColumnComboBox* Combo = {read=FCombo};
	
__published:
	__property int Columns = {read=FColumns, write=FColumns, nodefault};
	__property int DropHeight = {read=FDropHeight, write=FDropHeight, nodefault};
	__property int DropWidth = {read=FDropWidth, write=FDropWidth, nodefault};
	__property int EditColumn = {read=FEditColumn, write=FEditColumn, nodefault};
	__property bool Etched = {read=FEtched, write=FEtched, nodefault};
	__property bool Flat = {read=FFlat, write=FFlat, nodefault};
	__property bool GridLines = {read=FGridLines, write=FGridLines, nodefault};
	__property Controls::TImageList* Images = {read=FImages, write=SetImages};
	__property Classes::TStrings* Items = {read=FItems, write=SetItems};
	__property int LookupColumn = {read=FLookupColumn, write=FLookupColumn, nodefault};
	__property bool LookupIncr = {read=FLookupIncr, write=FLookupIncr, nodefault};
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall Register(void);

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

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