⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 colledit.hpp

📁 Object Inspector for Delphi (3-7,2005) and C++ Builder (5,6)
💻 HPP
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'CollEdit.pas' rev: 6.00

#ifndef CollEditHPP
#define CollEditHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <PropEdit.hpp>	// Pascal unit
#include <PropList.hpp>	// Pascal unit
#include <TypInfo.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <CompInsp.hpp>	// Pascal unit
#include <InspCtrl.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ExtCtrls.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 Colledit
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TCollectionPropertyEditor;
class PASCALIMPLEMENTATION TCollectionPropertyEditor : public Propedit::TPropertyEditor 
{
	typedef Propedit::TPropertyEditor inherited;
	
private:
	Classes::TCollection* __fastcall GetCollection(void);
	
public:
	virtual bool __fastcall Execute(void);
	__property Classes::TCollection* Collection = {read=GetCollection};
public:
	#pragma option push -w-inl
	/* TPropertyEditor.Create */ inline __fastcall virtual TCollectionPropertyEditor(Proplist::TProperty* AProp) : Propedit::TPropertyEditor(AProp) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TCollectionPropertyEditor(void) { }
	#pragma option pop
	
};


#pragma option push -b-
enum TTargetPosition { tpNone, tpTop, tpItem, tpBottom };
#pragma option pop

class DELPHICLASS TfrmCollectionEditor;
class PASCALIMPLEMENTATION TfrmCollectionEditor : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Extctrls::TSplitter* splMain;
	Extctrls::TPanel* pnlButtons;
	Stdctrls::TButton* btnAdd;
	Stdctrls::TButton* btnDelete;
	Extctrls::TPanel* pnlSysButtons;
	Stdctrls::TButton* btnClose;
	Compinsp::TComponentInspector* cinItemProperties;
	Stdctrls::TListBox* lsbItems;
	Stdctrls::TButton* btnUp;
	Stdctrls::TButton* btnDown;
	void __fastcall FormClose(System::TObject* Sender, Forms::TCloseAction &Action);
	void __fastcall FormShow(System::TObject* Sender);
	void __fastcall lsbItemsClick(System::TObject* Sender);
	void __fastcall lsbItemsDragOver(System::TObject* Sender, System::TObject* Source, int X, int Y, Controls::TDragState State, bool &Accept);
	void __fastcall lsbItemsDragDrop(System::TObject* Sender, System::TObject* Source, int X, int Y);
	void __fastcall lsbItemsMouseDown(System::TObject* Sender, Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
	void __fastcall btnUpClick(System::TObject* Sender);
	void __fastcall btnDownClick(System::TObject* Sender);
	void __fastcall btnAddClick(System::TObject* Sender);
	void __fastcall btnDeleteClick(System::TObject* Sender);
	void __fastcall cinItemPropertiesChange(System::TObject* Sender, int TheIndex);
	void __fastcall cinItemPropertiesExit(System::TObject* Sender);
	
private:
	TCollectionPropertyEditor* FEditor;
	int FDragIndex;
	HIDESBASE MESSAGE void __fastcall WMGetMinMaxInfo(Messages::TMessage &Msg);
	AnsiString __fastcall ItemText(Classes::TCollectionItem* CI);
	void __fastcall UpdateSelection(void);
	void __fastcall MoveUp(int Target);
	void __fastcall MoveDown(int Target);
	void __fastcall Reorder(void);
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TfrmCollectionEditor(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmCollectionEditor(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmCollectionEditor(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TfrmCollectionEditor(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	#pragma option pop
	
};


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

}	/* namespace Colledit */
using namespace Colledit;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -