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

📄 advoutlooklist.hpp

📁 TMS component pack v4.2 for delphi
💻 HPP
📖 第 1 页 / 共 4 页
字号:
	
__published:
	__property Align  = {default=0};
	__property Anchors  = {default=3};
	__property Forms::TBorderStyle BorderStyle = {read=FBorderStyle, write=SetBorderStyle, default=1};
	__property Graphics::TColor BorderColor = {read=FBorderColor, write=SetBorderColor, default=8421504};
	__property TCheckBoxStyle CheckBoxStyle = {read=FCheckBoxStyle, write=SetCheckBoxStyle, default=2};
	__property TAdvOutlookColumns* Columns = {read=FColumns, write=FColumns};
	__property Graphics::TColor ColumnLineColor = {read=FColumnLineColor, write=SetColumnLineColor, default=12632256};
	__property Graphics::TColor Color = {read=FColor, write=SetColor, default=-16777211};
	__property Constraints ;
	__property Outlookgroupedlist::TDragDropMode DragDropMode = {read=FDragDropMode, write=SetDragDropMode, default=0};
	__property TDragDropSetting DragDropSetting = {read=FDragDropSetting, write=SetDragDropSetting, default=0};
	__property int GroupItemHeight = {read=FGroupItemHeight, write=SetGroupItemHeight, nodefault};
	__property bool GroupShowCount = {read=FGroupShowCount, write=SetGroupShowCount, nodefault};
	__property Graphics::TColor HeaderBorderColor = {read=FHeaderBorderColor, write=SetHeaderBorderColor, default=12632256};
	__property TDragDropSetting HeaderDragDrop = {read=FHeaderDragDrop, write=SetHeaderDragDrop, default=0};
	__property int HeaderHeight = {read=GetHeaderHeight, write=SetHeaderHeight, default=20};
	__property bool HeaderResize = {read=FHeaderResize, write=SetHeaderResize, default=1};
	__property bool HideSelection = {read=FHideSelection, write=SetHideSelection, nodefault};
	__property int ItemHeight = {read=FItemHeight, write=SetItemHeight, default=20};
	__property Controls::TImageList* Images = {read=FImages, write=SetImages};
	__property Outlookgroupedlist::TOGLDragType DragType = {read=FDragType, write=SetDragType, default=0};
	__property TLookUpSettings* LookUp = {read=FLookUp, write=SetLookUp};
	__property TGroupColumnDisplay GroupColumnDisplay = {read=FGroupColumnDisplay, write=SetGroupColumnDisplay, nodefault};
	__property Picturecontainer::TPictureContainer* PictureContainer = {read=FContainer, write=FContainer};
	__property PopupMenu ;
	__property TProgressAppearance* ProgressAppearance = {read=FProgressAppearance, write=SetProgressAppearance};
	__property TPreviewSetting* PreviewSettings = {read=FPreviewSettings, write=SetPreviewSettings};
	__property Outlookgroupedlist::TOGLSelectionOptions SelectionOptions = {read=FSelectionOptions, write=SetSelectionOptions, default=3};
	__property ShowHint ;
	__property bool ShowNodes = {read=GetShowNodes, write=SetShowNodes, nodefault};
	__property TSortSettings* SortSettings = {read=FSortSettings, write=SetSortSettings};
	__property TabOrder  = {default=-1};
	__property TabStop  = {default=0};
	__property TURLSettings* URLSettings = {read=FURLSettings, write=SetURLSettings};
	__property AnsiString Version = {read=GetVersion, write=SetVersion};
	__property Visible  = {default=1};
	__property TDrawItemPropEvent OnDrawItemProp = {read=FOnDrawItemProp, write=FOnDrawItemProp};
	__property TDrawItemValueEvent OnDrawItemValue = {read=FOnDrawItemValue, write=FOnDrawItemValue};
	__property TDrawItemEvent OnDrawItem = {read=FOnDrawItem, write=FOnDrawItem};
	__property TURLClickEvent OnURLClick = {read=FOnURLClick, write=FOnURLClick};
	__property TAOLHeaderClickEvent OnHeaderClick = {read=FOnHeaderClick, write=FOnHeaderClick};
	__property TAOLHeaderClickEvent OnHeaderRightClick = {read=FOnHeaderRightClick, write=FOnHeaderRightClick};
	__property TAOLHeaderClickEvent OnHeaderDblClick = {read=FOnHeaderDblClick, write=FOnHeaderDblClick};
	__property TOnHeaderDragDropEvent OnHeaderDragDrop = {read=FOnHeaderDragDrop, write=FOnHeaderDragDrop};
	__property THeaderResizedEvent OnHeaderResized = {read=FOnHeaderResized, write=FOnHeaderResized};
	__property TAOLItemClickEvent OnItemClick = {read=FOnItemClick, write=FOnItemClick};
	__property TAOLItemClickEvent OnItemRightClick = {read=FOnItemRightClick, write=FOnItemRightClick};
	__property TAOLItemEvent OnItemDblClick = {read=FOnItemDblClick, write=FOnItemDblClick};
	__property TAOLItemEvent OnGroupClick = {read=FOnGroupClick, write=FOnGroupClick};
	__property TAOLItemEvent OnGroupDblClick = {read=FOnGroupDblClick, write=FOnGroupDblClick};
	__property TAOLItemEvent OnGroupRightClick = {read=FOnGroupRightClick, write=FOnGroupRightClick};
	__property TAnchorClick OnAnchorClick = {read=FAnchorClick, write=FAnchorClick};
	__property TAnchorClick OnAnchorEnter = {read=FAnchorEnter, write=FAnchorEnter};
	__property TAnchorClick OnAnchorExit = {read=FAnchorExit, write=FAnchorExit};
	__property TCheckBoxClickEvent OnCheckBoxClick = {read=FOnCheckBoxClick, write=FOnCheckBoxClick};
	__property TAOLDragOverEvent OnOLEDragOver = {read=FOnOLEDragOver, write=FOnOLEDragOver};
	__property TAOLDropEvent OnOLEDrop = {read=FOnOLEDrop, write=FOnOLEDrop};
	__property TAOLGetDataEvent OnOLEGetData = {read=FOnOLEGetData, write=FOnOLEGetData};
	__property TAOLGetClipboardFormatsEvent OnOLEGetClipboardFormats = {read=FOnOLEGetClipboardFormats, write=FOnOLEGetClipboardFormats};
	__property TAOLDragAllowedEvent OnOLEDragAllowed = {read=FOnOLEDragAllowed, write=FOnOLEDragAllowed};
	__property TAOLGetCaptionEvent OnGetCaption = {read=FOnGetCaption, write=FOnGetCaption};
	__property TOLEItemData OnOLEGetItemData = {read=FOnOLEGetItemData, write=FOnOLEGetItemData};
	__property TOLEItemData OnOLEItemDrop = {read=FOnOLEItemDrop, write=FOnOLEItemDrop};
	__property TOnCustomCompareEvent OnCustomCompare = {read=FOnCustomCompare, write=FOnCustomCompare};
	__property Classes::TNotifyEvent OnSelectionChange = {read=FOnSelectionChange, write=FOnSelectionChange};
	__property TOnSortedEvent OnSorted = {read=FOnSorted, write=FOnSorted};
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnKeyPress ;
	__property OnKeyDown ;
	__property OnKeyUp ;
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAdvOutlookList(HWND ParentWindow) : Controls::TCustomControl(ParentWindow) { }
	#pragma option pop
	
private:
	void *__ITMSStyle;	/* Advstyleif::ITMSStyle */
	
public:
	operator ITMSStyle*(void) { return (ITMSStyle*)&__ITMSStyle; }
	
};


class PASCALIMPLEMENTATION TAdvOutlookColumns : public Classes::TCollection 
{
	typedef Classes::TCollection inherited;
	
public:
	TAdvOutlookColumn* operator[](int Index) { return Items[Index]; }
	
private:
	Classes::TComponent* FOwner;
	Classes::TNotifyEvent FOnChange;
	Classes::TNotifyEvent FOnRefresh;
	TAdvOutlookList* FAdvOutLookList;
	HIDESBASE TAdvOutlookColumn* __fastcall GetItem(int Index);
	HIDESBASE void __fastcall SetItem(int Index, const TAdvOutlookColumn* Value);
	
protected:
	HIDESBASE void __fastcall Changed(void);
	void __fastcall Refresh(void);
	void __fastcall UpdateOnIndexChanged(void);
	void __fastcall UpdateOnDeleteItem(int Index);
	virtual void __fastcall Update(Classes::TCollectionItem* Item);
	__property TAdvOutlookList* AdvOutLookList = {read=FAdvOutLookList, write=FAdvOutLookList};
	
public:
	__fastcall TAdvOutlookColumns(Classes::TComponent* AOwner);
	DYNAMIC Classes::TPersistent* __fastcall GetOwner(void);
	HIDESBASE TAdvOutlookColumn* __fastcall Add(void);
	HIDESBASE TAdvOutlookColumn* __fastcall Insert(int Index);
	HIDESBASE void __fastcall Delete(int Index);
	__property TAdvOutlookColumn* Items[int Index] = {read=GetItem, write=SetItem/*, default*/};
	
__published:
	__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
	__property Classes::TNotifyEvent OnRefresh = {read=FOnRefresh, write=FOnRefresh};
public:
	#pragma option push -w-inl
	/* TCollection.Destroy */ inline __fastcall virtual ~TAdvOutlookColumns(void) { }
	#pragma option pop
	
};


#pragma pack(push,1)
struct TOutlookInfo
{
	
public:
	Classes::TStringList* data;
} ;
#pragma pack(pop)

typedef TOutlookInfo *POutlookInfo;

class PASCALIMPLEMENTATION TOutlookGroup : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	AnsiString __fastcall GetCaption();
	void __fastcall SetCaption(const AnsiString Value);
	Classes::TStrings* __fastcall GetChildItem(int Index);
	Outlookgroupedlist::POGLItem __fastcall GetChildOLGItem(int Index);
	int __fastcall GetChildCount(void);
	bool __fastcall GetExpanded(void);
	void __fastcall SetExpanded(const bool Value);
	int __fastcall GetTag(void);
	void __fastcall SetObject(const System::TObject* Value);
	void __fastcall SetTag(const int Value);
	System::TObject* __fastcall GetObject(void);
	
protected:
	Outlookgroupedlist::TOGLItem *OGLItem;
	TAdvOutlookList* List;
	
public:
	int __fastcall ItemIndex(Outlookgroupedlist::POGLItem p);
	Classes::TStrings* __fastcall AddChild(void);
	Classes::TStrings* __fastcall InsertChild(int Index);
	void __fastcall RemoveChild(int Index);
	void __fastcall ClearChilds(void);
	__property AnsiString Caption = {read=GetCaption, write=SetCaption};
	__property Classes::TStrings* ChildItem[int Index] = {read=GetChildItem};
	__property Outlookgroupedlist::POGLItem ChildOGLItem[int Index] = {read=GetChildOLGItem};
	__property int ChildCount = {read=GetChildCount, nodefault};
	__property bool Expanded = {read=GetExpanded, write=SetExpanded, nodefault};
	__property System::TObject* Data = {read=GetObject, write=SetObject};
	__property int Tag = {read=GetTag, write=SetTag, nodefault};
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TOutlookGroup(void) : System::TObject() { }
	#pragma option pop
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TOutlookGroup(void) { }
	#pragma option pop
	
};


class DELPHICLASS TOutlookItem;
class PASCALIMPLEMENTATION TOutlookItem : public System::TObject 
{
	typedef System::TObject inherited;
	
protected:
	Outlookgroupedlist::TOGLItem *OGLItem;
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TOutlookItem(void) : System::TObject() { }
	#pragma option pop
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TOutlookItem(void) { }
	#pragma option pop
	
};


#pragma option push -b-
enum TGaugeOrientation { goHorizontal, goVertical };
#pragma option pop

struct TGaugeSettings
{
	
public:
	Graphics::TColor Level0Color;
	Graphics::TColor Level0ColorTo;
	Graphics::TColor Level1Color;
	Graphics::TColor Level1ColorTo;
	Graphics::TColor Level2Color;
	Graphics::TColor Level2ColorTo;
	Graphics::TColor Level3Color;
	Graphics::TColor Level3ColorTo;
	int Level1Perc;
	int Level2Perc;
	Graphics::TColor BorderColor;
	bool ShowBorder;
	bool Stacked;
	bool ShowPercentage;
	Graphics::TFont* Font;
	bool CompletionSmooth;
	bool ShowGradient;
	int Steps;
	int Position;
	Graphics::TColor BackgroundColor;
	TGaugeOrientation Orientation;
} ;

//-- var, const, procedure ---------------------------------------------------
static const Shortint CHECKBOX_SIZE = 0xf;
static const Shortint MAJ_VER = 0x1;
static const Shortint MIN_VER = 0x3;
static const Shortint REL_VER = 0xa;
static const Shortint BLD_VER = 0x0;

}	/* namespace Advoutlooklist */
using namespace Advoutlooklist;
#pragma pack(pop)
#pragma option pop

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

⌨️ 快捷键说明

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