//----------------------------------------------------------------------------
// LEDld32.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: LEDld32.pas
//----------------------------------------------------------------------------
#ifndef LEDld32HPP
#define LEDld32HPP
//----------------------------------------------------------------------------
#include <dbconsts.hpp>
#include <DBTables.hpp>
#include <DB.hpp>
#include <DBCtrls.hpp>
#include <Menus.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Messages.hpp>
#include <SysUtils.hpp>
#include <Ledlp32a.hpp>
#include <LEDlp32.hpp>
#include <Windows.hpp>
#include <System.hpp>
namespace Ledld32
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TDBLEdit;
class __declspec(pascalimplementation) TDBLEdit : public Ledlp32::TCustomLEdit
{
	typedef Ledlp32::TCustomLEdit inherited;
	
private:
	bool FAutoDisplay;
	Dbtables::TFieldDataLink* FDataLink;
	bool FFocused;
	bool FHasFile;
	bool FLEditLoaded;
	bool FReadOnly;
	System::AnsiString __fastcall GetDataField(void);
	Db::TDataSource* __fastcall GetDataSource(void);
	Db::TField* __fastcall GetField(void);
	void __fastcall SetAutoDisplay(bool Value);
	void __fastcall SetDataField(const System::AnsiString Value);
	void __fastcall SetDataSource(Db::TDataSource* Value);
	void __fastcall SetFocused(bool Value);
	HIDESBASE MESSAGE void __fastcall CMEnter(Messages::TWMNoParams &Message);
	HIDESBASE MESSAGE void __fastcall CMExit(Messages::TWMNoParams &Message);
	MESSAGE void __fastcall CMGetDataLink(Messages::TMessage &Message);
	MESSAGE void __fastcall WMCut(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall WMLButtonDblClk(Messages::TWMMouse &Message);
	MESSAGE void __fastcall WMPaste(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall CMVisibleChanged(Messages::TMessage &Message);
	void __fastcall DataChange(System::TObject* Sender);
	void __fastcall UpdateData(System::TObject* Sender);
	
protected:
	virtual void __fastcall Change(void);
	virtual void __fastcall KeyPress(char &Key);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
		);
	virtual void __fastcall KeyDown(Word &Key, Classes::TShiftState Shift);
	virtual bool __fastcall GetHasFile(void);
	virtual bool __fastcall GetReadOnly(void);
	virtual void __fastcall SetReadOnly(bool Value);
	virtual void __fastcall SetHasFile(bool Value);
	
public:
	__fastcall virtual TDBLEdit(Classes::TComponent* AOwner);
	__fastcall virtual ~TDBLEdit(void);
	void __fastcall AddDBStr( System::AnsiString ADBStr);
	void __fastcall DBLoadLEdit(void);
	__property Db::TField* Field = {read=GetField, nodefault};
	
__published:
	__property About ;
	__property Align ;
	__property bool AutoDisplay = {read=FAutoDisplay, write=SetAutoDisplay, default=1};
	__property AutoIndent ;
	__property BackColorSelected ;
	__property BookmarksMax ;
	__property BorderStyle ;
	__property CanChangeFile ;
	__property CanChangeFont ;
	__property CaretWidth ;
	__property Color ;
	__property Ctl3D ;
	__property CurrentWordAsText ;
	__property System::AnsiString DataField = {read=GetDataField, write=SetDataField, nodefault};
	__property Db::TDataSource* DataSource = {read=GetDataSource, write=SetDataSource, nodefault};
	__property DefaultExt ;
	__property DefaultSelection ;
	__property DragCursor ;
	__property DragMode ;
	__property Enabled ;
	__property EndLine ;
	__property EndPos ;
	__property ExtraHorzSpacing ;
	__property ExtraVertSpacing ;
	__property ExtraComments ;
	__property FileMask ;
	__property FileName ;
	__property FirstVisibleLine ;
	__property FirstVisiblePos ;
	__property Font ;
	__property ForeColorSelected ;
	__property GroupNumber ;
	__property bool HasFile = {read=GetHasFile, write=SetHasFile, default=0};
	__property HasMenu ;
	__property Highlight ;
	__property InitializeType ;
	__property InsertMode ;
	__property Item2AsComment ;
	__property MacStyleSave ;
	__property MultiLineItems ;
	__property MultiLineStrings ;
	__property NoPrintDialog ;
	__property NoPrintProgress ;
	__property PaintMode ;
	__property ParentColor ;
	__property ParentCtl3D ;
	__property ParentFont ;
	__property ParentShowHint ;
	__property PopupMenu ;
	__property PrintJobName ;
	__property bool ReadOnly = {read=GetReadOnly, write=SetReadOnly, default=0};
	__property ScrollBars ;
	__property ShowHint ;
	__property SingleLineStrings ;
	__property Skip ;
	__property StartInComments ;
	__property StartLine ;
	__property StartPos ;
	__property Syntax ;
	__property TabOrder ;
	__property TabStop ;
	__property TabStopSize ;
	__property Text ;
	__property UndoDepth ;
	__property UnixStyleSave ;
	__property Version ;
	__property Visible ;
	__property WantReturns ;
	__property WantTabs ;
	__property WordWrap ;
	__property WordWrapAuto ;
	__property WordWrapRMargin ;
	__property WordWrapWidth ;
	__property WrapKeys ;
	__property OnAskIfStoreFile ;
	__property OnChange ;
	__property OnChangeMode ;
	__property OnClick ;
	__property OnClipboardError ;
	__property OnControlHighlight ;
	__property OnDblClick ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnEndDrag ;
	__property OnEnter ;
	__property OnExit ;
	__property OnFileError ;
	__property OnFindBrace ;
	__property OnGoingToClose ;
	__property OnGotFocus ;
	__property OnHorzScroll ;
	__property OnKeyDown ;
	__property OnKeyPress ;
	__property OnKeyUp ;
	__property OnLostFocus ;
	__property OnMaxLine ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnNewFile ;
	__property OnNewFont ;
	__property OnNotifyFound ;
	__property OnPaint ;
	__property OnPrintPage ;
	__property OnReadPreview ;
	__property OnSpaceError ;
	__property OnTimeToLoadText ;
	__property OnVertScroll ;
	__property OnWordClick ;
	__property OnWordBreak ;
public:
	/* TWinControl.CreateParented */ __fastcall TDBLEdit(HWND ParentWindow) : Ledlp32::TCustomLEdit(ParentWindow
		) { }
	
};

//-- var, const, procedure ---------------------------------------------------

}	/* namespace Ledld32 */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Ledld32;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// LEDld32
