📄 frxprogress.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'frxProgress.pas' rev: 6.00
#ifndef frxProgressHPP
#define frxProgressHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ExtCtrls.hpp> // Pascal unit
#include <StdCtrls.hpp> // Pascal unit
#include <ComCtrls.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Frxprogress
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TfrxProgress;
class PASCALIMPLEMENTATION TfrxProgress : public Forms::TForm
{
typedef Forms::TForm inherited;
__published:
Extctrls::TPanel* Panel1;
Stdctrls::TLabel* LMessage;
Comctrls::TProgressBar* Bar;
Stdctrls::TButton* CancelB;
HIDESBASE MESSAGE void __fastcall WMNCHitTest(Messages::TWMNCHitTest &Message);
void __fastcall FormCreate(System::TObject* Sender);
void __fastcall CancelBClick(System::TObject* Sender);
void __fastcall FormHide(System::TObject* Sender);
void __fastcall FormDestroy(System::TObject* Sender);
private:
Forms::TForm* FActiveForm;
bool FTerminated;
int FPosition;
AnsiString FMessage;
bool FProgress;
HIDESBASE void __fastcall SetPosition(int Value);
void __fastcall SetMessage(const AnsiString Value);
void __fastcall SetTerminated(bool Value);
void __fastcall SetProgress(bool Value);
public:
void __fastcall Reset(void);
void __fastcall Execute(int MaxValue, const AnsiString Msg, bool Canceled, bool Progress);
void __fastcall Tick(void);
__property bool Terminated = {read=FTerminated, write=SetTerminated, nodefault};
__property int Position = {read=FPosition, write=SetPosition, nodefault};
__property bool ShowProgress = {read=FProgress, write=SetProgress, nodefault};
__property AnsiString Message = {read=FMessage, write=SetMessage};
public:
#pragma option push -w-inl
/* TCustomForm.Create */ inline __fastcall virtual TfrxProgress(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
#pragma option pop
#pragma option push -w-inl
/* TCustomForm.CreateNew */ inline __fastcall virtual TfrxProgress(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
#pragma option pop
#pragma option push -w-inl
/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrxProgress(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TfrxProgress(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Frxprogress */
using namespace Frxprogress;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // frxProgress
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -