📄 iintegeroutput.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'iIntegerOutput.pas' rev: 6.00
#ifndef iIntegerOutputHPP
#define iIntegerOutputHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <iVCLComponent.hpp> // Pascal unit
#include <iGPFunctions.hpp> // Pascal unit
#include <iTypes.hpp> // Pascal unit
#include <iEditCustom.hpp> // Pascal unit
#include <iComponent.hpp> // Pascal unit
#include <ExtCtrls.hpp> // Pascal unit
#include <StdCtrls.hpp> // Pascal unit
#include <ComCtrls.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Variants.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Types.hpp> // Pascal unit
#include <Clipbrd.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <TypInfo.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Iintegeroutput
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiIntegerOutput;
class PASCALIMPLEMENTATION TiIntegerOutput : public Ieditcustom::TiEditCustom
{
typedef Ieditcustom::TiEditCustom inherited;
private:
int FValue;
Itypes::TOnBeforeChangeInteger FOnBeforeChange;
Classes::TNotifyEvent FOnChangeUser;
Itypes::TOnBeforeChangeInteger FOnBeforeUserChange;
bool FBeepOnError;
bool FUndoOnError;
Itypes::TiIntegerFormatStyle FFormatStyle;
bool FLeadingZeros;
int FValueMax;
int FValueMin;
protected:
void __fastcall SetValue(const int Value);
void __fastcall SetValueMax(const int Value);
void __fastcall SetValueMin(const int Value);
void __fastcall SetFormatStyle(const Itypes::TiIntegerFormatStyle Value);
void __fastcall SetLeadingZeros(const bool Value);
int __fastcall GetValue(AnsiString Value);
AnsiString __fastcall iGetText(int Value);
void __fastcall UpdateText(void);
virtual void __fastcall DoChange(void);
virtual void __fastcall CompleteChange(void);
virtual bool __fastcall AllowKey(char Key);
virtual void __fastcall SetMaxLength(const int Value);
public:
__fastcall virtual TiIntegerOutput(Classes::TComponent* AOwner);
void __fastcall SetValueNoEvent(const int Value);
void __fastcall OPCItemActivateSend(int Index);
__property Text ;
__published:
__property int Value = {read=FValue, write=SetValue, nodefault};
__property int ValueMax = {read=FValueMax, write=SetValueMax, nodefault};
__property int ValueMin = {read=FValueMin, write=SetValueMin, nodefault};
__property Classes::TNotifyEvent OnChangeUser = {read=FOnChangeUser, write=FOnChangeUser};
__property Itypes::TOnBeforeChangeInteger OnBeforeChange = {read=FOnBeforeChange, write=FOnBeforeChange};
__property Itypes::TOnBeforeChangeInteger OnBeforeUserChange = {read=FOnBeforeUserChange, write=FOnBeforeUserChange};
__property bool UndoOnError = {read=FUndoOnError, write=FUndoOnError, default=1};
__property bool BeepOnError = {read=FBeepOnError, write=FBeepOnError, default=0};
__property Itypes::TiIntegerFormatStyle FormatStyle = {read=FFormatStyle, write=SetFormatStyle, nodefault};
__property bool LeadingZeros = {read=FLeadingZeros, write=SetLeadingZeros, nodefault};
__property Alignment = {default=2};
__property TabOrder = {default=-1};
__property TabStop = {default=1};
__property ErrorActive ;
__property ErrorText ;
__property ErrorFont ;
__property ErrorBackGroundColor ;
public:
#pragma option push -w-inl
/* TiEditCustom.Destroy */ inline __fastcall virtual ~TiIntegerOutput(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TiIntegerOutput(HWND ParentWindow) : Ieditcustom::TiEditCustom(ParentWindow) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Iintegeroutput */
using namespace Iintegeroutput;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // iIntegerOutput
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -