odpythonbehaviour.hpp
来自「本人买的<<VC++项目开发实例>>源代码配套光盘.」· HPP 代码 · 共 80 行
HPP
80 行
// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'odPythonBehaviour.pas' rev: 5.00
#ifndef odPythonBehaviourHPP
#define odPythonBehaviourHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <mwKeyCmds.hpp> // Pascal unit
#include <mwCustomEdit.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 Odpythonbehaviour
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TodPythonBehaviour;
class PASCALIMPLEMENTATION TodPythonBehaviour : public Classes::TComponent
{
typedef Classes::TComponent inherited;
private:
Mwcustomedit::TmwCustomEdit* FEditor;
Controls::TKeyPressEvent FFormerKeyPress;
Mwcustomedit::TProcessCommandEvent FFormProcessUserCommand;
int fIndent;
protected:
virtual void __fastcall SetEditor(Mwcustomedit::TmwCustomEdit* Value);
virtual void __fastcall doKeyPress(System::TObject* Sender, char &Key);
virtual void __fastcall doProcessUserCommand(System::TObject* Sender, Mwkeycmds::TmwEditorCommand &
Command, char &AChar, void * Data);
public:
virtual void __fastcall Loaded(void);
void __fastcall AttachFormerEvents(void);
__fastcall virtual TodPythonBehaviour(Classes::TComponent* aOwner);
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
);
__published:
__property Mwcustomedit::TmwCustomEdit* Editor = {read=FEditor, write=SetEditor};
__property int Indent = {read=fIndent, write=fIndent, default=4};
public:
#pragma option push -w-inl
/* TComponent.Destroy */ inline __fastcall virtual ~TodPythonBehaviour(void) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
static const Word ecPythonIndent = 0xb9f;
extern PACKAGE void __fastcall Register(void);
} /* namespace Odpythonbehaviour */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Odpythonbehaviour;
#endif
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // odPythonBehaviour
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?