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

// (DO NOT EDIT: machine generated header) 'ahmtbpbuttons.pas' rev: 6.00

#ifndef ahmtbpbuttonsHPP
#define ahmtbpbuttonsHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ahmtbackground.hpp>	// Pascal unit
#include <ahmenhancedclass.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmtbpbuttons
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMCheckbox;
class PASCALIMPLEMENTATION TAHMCheckbox : public Stdctrls::TCheckBox 
{
	typedef Stdctrls::TCheckBox inherited;
	
private:
	AnsiString FAHMAboutStr;
	bool FFlat;
	Graphics::TBitmap* FImage;
	bool FWordWrap;
	bool FAsButton;
	Ahmenhancedclass::TAHMFont3D* F3D;
	Classes::TAlignment FAlign;
	Classes::TAlignment FAlignButton;
	Ahmtbackground::TAHMBackground* FBack;
	bool __fastcall IsAsButton(void);
	bool __fastcall IsNotAsButton(void);
	HIDESBASE AnsiString __fastcall GetText();
	void __fastcall SetFlat(bool Value);
	void __fastcall Set3D(Ahmenhancedclass::TAHMFont3D* Value);
	void __fastcall SetWordWrap(bool Value);
	HIDESBASE void __fastcall SetAlign(Classes::TAlignment Value);
	HIDESBASE void __fastcall SetText(const AnsiString Value);
	void __fastcall SetAsButton(bool Value);
	void __fastcall SetBack(Ahmtbackground::TAHMBackground* Value);
	void __fastcall SetAlignButton(Classes::TLeftRight Value);
	HIDESBASE MESSAGE void __fastcall WMPaint(Messages::TWMPaint &Message);
	
protected:
	virtual void __fastcall Createparams(Controls::TCreateParams &Params);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
	
public:
	__fastcall virtual TAHMCheckbox(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMCheckbox(void);
	virtual void __fastcall Loaded(void);
	
__published:
	__property AnsiString About = {read=FAHMAboutStr, write=FAHMAboutStr, stored=false};
	__property Classes::TAlignment Alignment = {read=FAlign, write=SetAlign, default=0};
	__property AnsiString Caption = {read=GetText, write=SetText};
	__property Ahmenhancedclass::TAHMFont3D* Font3D = {read=F3D, write=Set3D};
	__property bool WordWrap = {read=FWordWrap, write=SetWordWrap, default=0};
	__property Ahmtbackground::TAHMBackground* Background = {read=FBack, write=SetBack};
	__property bool AsButton = {read=FAsButton, write=SetAsButton, default=0};
	__property bool ButtonSunk = {read=FFlat, write=SetFlat, stored=IsAsButton, default=1};
	__property Classes::TLeftRight AlignButton = {read=FAlignButton, write=SetAlignButton, stored=IsNotAsButton, default=0};
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAHMCheckbox(HWND ParentWindow) : Stdctrls::TCheckBox(ParentWindow) { }
	#pragma option pop
	
};


class DELPHICLASS TAHMRadiobutton;
class PASCALIMPLEMENTATION TAHMRadiobutton : public Stdctrls::TRadioButton 
{
	typedef Stdctrls::TRadioButton inherited;
	
private:
	AnsiString FAHMAboutStr;
	bool FFlat;
	Graphics::TBitmap* FImage;
	bool FWordWrap;
	bool FAsButton;
	Ahmenhancedclass::TAHMFont3D* F3D;
	Classes::TAlignment FAlign;
	Classes::TAlignment FAlignButton;
	Ahmtbackground::TAHMBackground* FBack;
	bool __fastcall IsAsButton(void);
	bool __fastcall IsNotAsButton(void);
	HIDESBASE AnsiString __fastcall GetText();
	void __fastcall SetFlat(bool Value);
	void __fastcall Set3D(Ahmenhancedclass::TAHMFont3D* Value);
	void __fastcall SetWordWrap(bool Value);
	HIDESBASE void __fastcall SetAlign(Classes::TAlignment Value);
	HIDESBASE void __fastcall SetText(const AnsiString Value);
	void __fastcall SetAsButton(bool Value);
	void __fastcall SetBack(Ahmtbackground::TAHMBackground* Value);
	void __fastcall SetAlignButton(Classes::TLeftRight Value);
	HIDESBASE MESSAGE void __fastcall WMPaint(Messages::TWMPaint &Message);
	
protected:
	virtual void __fastcall Createparams(Controls::TCreateParams &Params);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
	
public:
	__fastcall virtual TAHMRadiobutton(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMRadiobutton(void);
	virtual void __fastcall Loaded(void);
	
__published:
	__property AnsiString About = {read=FAHMAboutStr, write=FAHMAboutStr, stored=false};
	__property Classes::TAlignment Alignment = {read=FAlign, write=SetAlign, default=0};
	__property AnsiString Caption = {read=GetText, write=SetText};
	__property Ahmenhancedclass::TAHMFont3D* Font3D = {read=F3D, write=Set3D};
	__property bool WordWrap = {read=FWordWrap, write=SetWordWrap, default=0};
	__property Ahmtbackground::TAHMBackground* Background = {read=FBack, write=SetBack};
	__property bool AsButton = {read=FAsButton, write=SetAsButton, default=0};
	__property bool ButtonSunk = {read=FFlat, write=SetFlat, stored=IsAsButton, default=1};
	__property Classes::TLeftRight AlignButton = {read=FAlignButton, write=SetAlignButton, stored=IsNotAsButton, default=0};
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAHMRadiobutton(HWND ParentWindow) : Stdctrls::TRadioButton(ParentWindow) { }
	#pragma option pop
	
};


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

}	/* namespace Ahmtbpbuttons */
using namespace Ahmtbpbuttons;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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