//---------------------------------------------------------------------------

#ifndef LinkLabelH
#define LinkLabelH
//---------------------------------------------------------------------------
#include <SysUtils.hpp>
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
//---------------------------------------------------------------------------
class PACKAGE TLinkLabel : public TCustomLabel
{
private:
	AnsiString FAdres;
protected:
	bool SprawdzAdres(AnsiString AAdres) const;
	void __fastcall SetAdres(AnsiString AAdres);
public:
	__fastcall TLinkLabel(TComponent* Owner);
	void __fastcall Polacz(TObject* Sender);
__published:
	__property AnsiString Adres={read=FAdres,write=SetAdres};
	//publikowanie wlasnosci
	__property Caption;
	__property Font;
	__property AutoSize;
	__property Color;
	__property PopupMenu;
	//publikowanie zdarzen
	__property OnDragOver;
	__property OnDragDrop;
	__property OnEndDrag;
};
//---------------------------------------------------------------------------
#endif
