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

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

#ifndef IwcompradiobuttonHPP
#define IwcompradiobuttonHPP

#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 <Classes.hpp>	// Pascal unit
#include <Iwvclcomponent.hpp>	// Pascal unit
#include <Iwvclclasses.hpp>	// Pascal unit
#include <Iwvclbasecontrol.hpp>	// Pascal unit
#include <Iwhtmltag.hpp>	// Pascal unit
#include <Iwcontrol.hpp>	// Pascal unit
#include <Iwtypes.hpp>	// Pascal unit
#include <Iwscriptevents.hpp>	// Pascal unit
#include <Iwrendercontext.hpp>	// Pascal unit
#include <Iwbaseinterfaces.hpp>	// Pascal unit
#include <Iwbasehtmlcontrol.hpp>	// Pascal unit
#include <Iwbasecontrol.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Iwfont.hpp>	// Pascal unit

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

namespace Iwcompradiobutton
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TIWCustomRadioButton;
class PASCALIMPLEMENTATION TIWCustomRadioButton : public Iwcontrol::TIWCustomControl 
{
	typedef Iwcontrol::TIWCustomControl inherited;
	
protected:
	AnsiString FSubmitParam;
	AnsiString FValue;
	AnsiString FGroup;
	bool FChecked;
	virtual void __fastcall HookEvents(Iwrendercontext::TIWPageContext40* AContext, Iwscriptevents::TIWScriptEvents* AScriptEvents);
	virtual void __fastcall Submit(const AnsiString AValue);
	virtual void __fastcall SetValue(const AnsiString AValue);
	void __fastcall SetChecked(bool AValue);
	virtual void __fastcall InitControl(void);
	virtual void __fastcall GetInputControlNames(Classes::TStringList* ANames);
	virtual bool __fastcall IsForThisControl(AnsiString AName);
	virtual void __fastcall SetName(const AnsiString AValue);
	virtual Controls::TTabOrder __fastcall getTabOrder(void);
	virtual void __fastcall setTabOrder(Controls::TTabOrder AValue);
	
public:
	virtual Iwhtmltag::TIWHTMLTag* __fastcall RenderHTML(Iwrendercontext::TIWBaseHTMLComponentContext* AContext);
	AnsiString __fastcall GetSubmitParam();
	__property bool Checked = {read=FChecked, write=SetChecked, nodefault};
	__property AnsiString Group = {read=FGroup, write=FGroup};
	__property AnsiString Value = {read=FValue, write=FValue};
	
__published:
	__property Caption ;
	__property Editable ;
	__property ExtraTagParams ;
	__property Font ;
	__property ScriptEvents ;
	__property DoSubmitValidation ;
	__property OnClick ;
public:
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Create */ inline __fastcall virtual TIWCustomRadioButton(Classes::TComponent* AOwner) : Iwcontrol::TIWCustomControl(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Destroy */ inline __fastcall virtual ~TIWCustomRadioButton(void) { }
	#pragma option pop
	
private:
	void *__IIWInputControl;	/* Iwbaseinterfaces::IIWInputControl */
	void *__IIWSubmitControl;	/* Iwbaseinterfaces::IIWSubmitControl */
	
public:
	operator IIWSubmitControl*(void) { return (IIWSubmitControl*)&__IIWSubmitControl; }
	operator IIWInputControl*(void) { return (IIWInputControl*)&__IIWInputControl; }
	
};


class DELPHICLASS TIWRadioButton;
class PASCALIMPLEMENTATION TIWRadioButton : public TIWCustomRadioButton 
{
	typedef TIWCustomRadioButton inherited;
	
__published:
	__property Editable ;
	__property Checked ;
	__property Group ;
	__property Value ;
	__property FriendlyName ;
public:
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Create */ inline __fastcall virtual TIWRadioButton(Classes::TComponent* AOwner) : TIWCustomRadioButton(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Destroy */ inline __fastcall virtual ~TIWRadioButton(void) { }
	#pragma option pop
	
};


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

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

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