home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'AHMTMessages.pas' rev: 3.00
-
- #ifndef AHMTMessagesHPP
- #define AHMTMessagesHPP
- #include <AHMSystem.hpp>
- #include <StdCtrls.hpp>
- #include <Buttons.hpp>
- #include <Dialogs.hpp>
- #include <Classes.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <SysUtils.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Ahmtmessages
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TAHMMsgBox;
- class PASCALIMPLEMENTATION TAHMMsgBox : public Ahmsystem::TAHMAdvancedExecComponent
- {
- typedef Ahmsystem::TAHMAdvancedExecComponent inherited;
-
- private:
- Classes::TStrings* FCaption;
- Dialogs::TMsgDlgButtons FButtons;
- Word freturn;
- int fhelp;
- TMsgDlgType FMessageType;
- System::AnsiString factmess;
- int fxpos;
- int fypos;
- Classes::TNotifyEvent fyes;
- Classes::TNotifyEvent fno;
- Classes::TNotifyEvent fOk;
- Classes::TNotifyEvent fCancel;
- Classes::TNotifyEvent fall;
- Classes::TNotifyEvent fretry;
- Classes::TNotifyEvent fignore;
- Classes::TNotifyEvent fabort;
- void __fastcall SetXPos(int value);
- void __fastcall SetYPos(int value);
- void __fastcall SetCaption(Classes::TStrings* value);
-
- public:
- __fastcall virtual TAHMMsgBox(Classes::TComponent* AOwner);
- __fastcall virtual ~TAHMMsgBox(void);
- virtual bool __fastcall Execute(void);
- __property Word Return = {read=freturn, nodefault};
-
- __published:
- __property Classes::TStrings* Caption = {read=FCaption, write=SetCaption};
- __property Dialogs::TMsgDlgType MessageType = {read=FMessageType, write=FMessageType, default=2};
- __property Dialogs::TMsgDlgButtons Buttons = {read=FButtons, write=FButtons, default=12};
- __property int HelpContext = {read=fhelp, write=fhelp, default=0};
- __property int XPosition = {read=fxpos, write=SetXPos, default=-1};
- __property int YPosition = {read=fypos, write=SetYPos, default=-1};
- __property Classes::TNotifyEvent OnYes = {read=fyes, write=fyes};
- __property Classes::TNotifyEvent OnNo = {read=fno, write=fno};
- __property Classes::TNotifyEvent OnOk = {read=fOk, write=fOk};
- __property Classes::TNotifyEvent OnCancel = {read=fCancel, write=fCancel};
- __property Classes::TNotifyEvent OnAbort = {read=fabort, write=fabort};
- __property Classes::TNotifyEvent OnIgnore = {read=fignore, write=fignore};
- __property Classes::TNotifyEvent OnRetry = {read=fretry, write=fretry};
- __property Classes::TNotifyEvent OnAll = {read=fall, write=fall};
- };
-
- class DELPHICLASS TAHMMsgDlg;
- class PASCALIMPLEMENTATION TAHMMsgDlg : public Ahmsystem::TAHMAdvancedExecComponent
- {
- typedef Ahmsystem::TAHMAdvancedExecComponent inherited;
-
- private:
- Classes::TNotifyEvent fOk;
- Classes::TNotifyEvent fCancel;
- System::AnsiString fshow;
- int fhelp;
- System::AnsiString fheader;
- System::AnsiString fretst;
- System::AnsiString fquery;
- int fxpos;
- int fypos;
-
- public:
- __fastcall virtual TAHMMsgDlg(Classes::TComponent* AOwner);
- virtual bool __fastcall Execute(void);
-
- __published:
- __property System::AnsiString Header = {read=fheader, write=fheader};
- __property System::AnsiString Question = {read=fquery, write=fquery};
- __property System::AnsiString Return = {read=fretst, write=fretst};
- __property Classes::TNotifyEvent OnOk = {read=fOk, write=fOk};
- __property Classes::TNotifyEvent OnCancel = {read=fCancel, write=fCancel};
- public:
- /* TComponent.Destroy */ __fastcall virtual ~TAHMMsgDlg(void) { }
-
- };
-
- class DELPHICLASS TAHMMsgSelect;
- class PASCALIMPLEMENTATION TAHMMsgSelect : public Ahmsystem::TAHMAdvancedExecComponent
- {
- typedef Ahmsystem::TAHMAdvancedExecComponent inherited;
-
- private:
- Classes::TNotifyEvent fOk;
- Classes::TNotifyEvent fCancel;
- System::AnsiString fshow;
- int fhelp;
- System::AnsiString fheader;
- System::AnsiString fretst;
- System::AnsiString fquery;
- bool fsort;
- int fxpos;
- int fypos;
- Classes::TStrings* fitems;
- void __fastcall SetItems(Classes::TStrings* value);
- bool __fastcall InputQueryEx(const System::AnsiString ACaption, const System::AnsiString APrompt, System::AnsiString
- &Value, Classes::TStrings* Values);
-
- public:
- __fastcall virtual TAHMMsgSelect(Classes::TComponent* AOwner);
- __fastcall virtual ~TAHMMsgSelect(void);
- virtual bool __fastcall Execute(void);
-
- __published:
- __property System::AnsiString Header = {read=fheader, write=fheader};
- __property System::AnsiString Question = {read=fquery, write=fquery};
- __property System::AnsiString Return = {read=fretst, write=fretst};
- __property Classes::TStrings* Items = {read=fitems, write=SetItems};
- __property bool Sorted = {read=fsort, write=fsort, default=0};
- __property Classes::TNotifyEvent OnOk = {read=fOk, write=fOk};
- __property Classes::TNotifyEvent OnCancel = {read=fCancel, write=fCancel};
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Ahmtmessages */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ahmtmessages;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // AHMTMessages
-