📄 paramchklist.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Paramchklist.pas' rev: 10.00
#ifndef ParamchklistHPP
#define ParamchklistHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp> // Pascal unit
#include <Sysinit.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Sysutils.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Stdctrls.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Menus.hpp> // Pascal unit
#include <Spin.hpp> // Pascal unit
#include <Comctrls.hpp> // Pascal unit
#include <Parhtml.hpp> // Pascal unit
#include <Picturecontainer.hpp> // Pascal unit
#include <Parxpvs.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Paramchklist
{
//-- type declarations -------------------------------------------------------
typedef void __fastcall (__closure *TParamClickEvent)(System::TObject* Sender, int idx, AnsiString href, AnsiString &value);
typedef void __fastcall (__closure *TParamPopupEvent)(System::TObject* Sender, int idx, AnsiString href, Classes::TStringList* values, bool &DoPopup);
typedef void __fastcall (__closure *TParamSelectEvent)(System::TObject* Sender, int idx, AnsiString href, AnsiString value);
typedef void __fastcall (__closure *TParamChangedEvent)(System::TObject* Sender, int idx, AnsiString href, AnsiString oldvalue, AnsiString newvalue);
typedef void __fastcall (__closure *TParamHintEvent)(System::TObject* Sender, AnsiString href, AnsiString &hintvalue, bool &showhint);
typedef void __fastcall (__closure *TParamCustomEditEvent)(System::TObject* Sender, int idx, AnsiString href, AnsiString value, AnsiString props, const Types::TRect &EditRect);
typedef void __fastcall (__closure *TParamListBoxEditEvent)(System::TObject* Sender, int idx, AnsiString href, AnsiString &value);
typedef void __fastcall (__closure *TParamItemControlEvent)(System::TObject* Sender, int X, int Y, int Item, AnsiString ControlID, AnsiString ControlType, AnsiString ControlValue);
typedef void __fastcall (__closure *TParamControlHintEvent)(System::TObject* Sender, AnsiString ControlID, AnsiString &Hint, bool &CanShow);
class DELPHICLASS TParamCheckList;
class PASCALIMPLEMENTATION TParamCheckList : public Stdctrls::TCustomListBox
{
typedef Stdctrls::TCustomListBox inherited;
private:
AnsiString FOldParam;
Controls::TCursor FOldCursor;
Graphics::TColor FParamColor;
bool FAllowGrayed;
bool FDuplicates;
bool FFlat;
int FFocusLink;
int FFocusItem;
int FNumHyperLinks;
int FStandardItemHeight;
Classes::TNotifyEvent FOnCheckClick;
TParamClickEvent FOnParamClick;
TParamPopupEvent FOnParamPopup;
TParamPopupEvent FOnParamList;
TParamSelectEvent FOnParamSelect;
TParamChangedEvent FOnParamChanged;
TParamSelectEvent FOnParamExit;
TParamSelectEvent FOnParamEnter;
TParamHintEvent FOnParamHint;
Classes::TList* FSaveStates;
bool FShowSelection;
Classes::TStringList* FDuplicateList;
bool FHover;
int FHoverIdx;
int FHoverHyperLink;
Graphics::TColor FHoverColor;
Graphics::TColor FHoverFontColor;
#pragma pack(push,1)
Types::TRect FCurrHoverRect;
#pragma pack(pop)
Menus::TPopupMenu* FParamPopup;
Controls::TImageList* FImages;
Parhtml::TPopupListBox* FParamList;
Parhtml::TPopupDatePicker* FParamDatePicker;
Parhtml::TPopupSpinEdit* FParamSpinEdit;
Parhtml::TPopupEdit* FParamEdit;
Parhtml::TPopupMaskEdit* FParamMaskEdit;
Graphics::TColor FShadowColor;
int FShadowOffset;
int FUpdateCount;
int FUpdateIndex;
bool FParamHint;
TParamClickEvent FOnParamPrepare;
bool FParamListSorted;
Picturecontainer::TPictureContainer* FContainer;
Picturecontainer::THTMLPictureCache* FImageCache;
bool FMouseDown;
AnsiString FCurrCtrlID;
#pragma pack(push,1)
Types::TRect FCurrCtrlRect;
#pragma pack(pop)
#pragma pack(push,1)
Types::TRect FCurrCtrlDown;
#pragma pack(pop)
TParamItemControlEvent FOnControlClick;
TParamControlHintEvent FOnControlHint;
bool FEditAutoSize;
int FLineSpacing;
TParamListBoxEditEvent FOnParamEditStart;
TParamListBoxEditEvent FOnParamEditDone;
AnsiString FEmptyParam;
AnsiString FOldAnchor;
TParamListBoxEditEvent FOnParamQuery;
Graphics::TColor FSelectionColor;
Graphics::TColor FSelectionFontColor;
AnsiString FEditValue;
#pragma pack(push,1)
Types::TPoint FEditPos;
#pragma pack(pop)
bool FIsEditing;
TParamCustomEditEvent FOnParamCustomEdit;
bool FAdvanceOnReturn;
bool FWordWrap;
void __fastcall ResetItemHeight(void);
void __fastcall DrawCheck(const Types::TRect &R, Stdctrls::TCheckBoxState AState, bool AEnabled);
void __fastcall SetChecked(int Index, bool Checked);
bool __fastcall GetChecked(int Index);
void __fastcall SetState(int Index, Stdctrls::TCheckBoxState AState);
Stdctrls::TCheckBoxState __fastcall GetState(int Index);
void __fastcall SetIndent(int Index, int AIndent);
int __fastcall GetIndent(int Index);
void __fastcall ToggleClickCheck(int Index);
void __fastcall InvalidateCheck(int Index);
void __fastcall InvalidateItem(int Index);
System::TObject* __fastcall CreateWrapper(int Index);
System::TObject* __fastcall ExtractWrapper(int Index);
System::TObject* __fastcall GetWrapper(int Index);
bool __fastcall HaveWrapper(int Index);
void __fastcall SetFlat(bool Value);
void __fastcall SetDuplicates(bool Value);
HIDESBASE MESSAGE void __fastcall CNDrawItem(Messages::TWMDrawItem &Message);
HIDESBASE MESSAGE void __fastcall CMFontChanged(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMHintShow(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall CMMouseLeave(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMDestroy(Messages::TWMNoParams &Msg);
HIDESBASE MESSAGE void __fastcall WMEraseBkGnd(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall WMKillFocus(Messages::TMessage &Message);
bool __fastcall GetItemEnabled(int Index);
void __fastcall SetItemEnabled(int Index, const bool Value);
bool __fastcall GetComment(int Index);
void __fastcall SetComment(int Index, bool AComment);
int __fastcall GetSelectCount(void);
HIDESBASE AnsiString __fastcall GetSelected(int Index);
void __fastcall QuickSortItems(int left, int right);
AnsiString __fastcall IsParam(int x, int y, bool GetFocusRect, int &idx, Types::TRect &hoverrect, Types::TRect &ctrlrect, AnsiString &CID, AnsiString &CT, AnsiString &CV);
void __fastcall SetParamColor(const Graphics::TColor Value);
AnsiString __fastcall GetParam(AnsiString href);
void __fastcall SetParam(AnsiString href, const AnsiString Value);
AnsiString __fastcall GetItemParam(int idx, AnsiString href);
void __fastcall SetItemParam(int idx, AnsiString href, const AnsiString Value);
void __fastcall HandlePopup(System::TObject* Sender);
void __fastcall SetHover(const bool Value);
void __fastcall SetImageList(const Controls::TImageList* Value);
int __fastcall GetItemIndent(const int Index);
void __fastcall SetShadowColor(const Graphics::TColor Value);
void __fastcall SetShadowOffset(const int Value);
int __fastcall GetCheckWidth(void);
void __fastcall SetParamHint(const bool Value);
void __fastcall UpdateParam(AnsiString href, AnsiString value);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -