📄 clbx_tlb.pas
字号:
unit CLBX_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type library) re-imported, or the
// 'Refresh' command of the Type Library Editor activated while editing the
// Type Library, the contents of this file will be regenerated and all
// manual modifications will be lost.
// ************************************************************************ //
// PASTLWTR : $Revision: 1.88 $
// File generated on 9/4/1999 3:23:59 PM from Type Library described below.
// *************************************************************************//
// NOTE:
// Items guarded by $IFDEF_LIVE_SERVER_AT_DESIGN_TIME are used by properties
// which return objects that may need to be explicitly created via a function
// call prior to any access via the property. These items have been disabled
// in order to prevent accidental use from within the object inspector. You
// may enable them by defining LIVE_SERVER_AT_DESIGN_TIME or by selectively
// removing them from the $IFDEF blocks. However, such items must still be
// programmatically created via a method of the appropriate CoClass before
// they can be used.
// ************************************************************************ //
// Type Lib: J:\Book\samples\Chap06\ActiveX\CLBX.tlb (1)
// IID\LCID: {3774F16D-5D73-11D3-B872-0040F67455FE}\0
// Helpfile:
// DepndLst:
// (1) v2.0 stdole, (C:\WINNT\System32\StdOle2.tlb)
// (2) v4.0 StdVCL, (C:\WINNT\System32\STDVCL40.DLL)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
interface
uses Windows, ActiveX, Classes, Graphics, OleServer, OleCtrls, StdVCL;
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:
// Type Libraries : LIBID_xxxx
// CoClasses : CLASS_xxxx
// DISPInterfaces : DIID_xxxx
// Non-DISP interfaces: IID_xxxx
// *********************************************************************//
const
// TypeLibrary Major and minor versions
CLBXMajorVersion = 1;
CLBXMinorVersion = 0;
LIBID_CLBX: TGUID = '{3774F16D-5D73-11D3-B872-0040F67455FE}';
IID_ICheckListBoxX: TGUID = '{3774F16E-5D73-11D3-B872-0040F67455FE}';
DIID_ICheckListBoxXEvents: TGUID = '{3774F170-5D73-11D3-B872-0040F67455FE}';
CLASS_CheckListBoxX: TGUID = '{3774F172-5D73-11D3-B872-0040F67455FE}';
// *********************************************************************//
// Declaration of Enumerations defined in Type Library
// *********************************************************************//
// Constants for enum TxBorderStyle
type
TxBorderStyle = TOleEnum;
const
bsNone = $00000000;
bsSingle = $00000001;
// Constants for enum TxDragMode
type
TxDragMode = TOleEnum;
const
dmManual = $00000000;
dmAutomatic = $00000001;
// Constants for enum TxImeMode
type
TxImeMode = TOleEnum;
const
imDisable = $00000000;
imClose = $00000001;
imOpen = $00000002;
imDontCare = $00000003;
imSAlpha = $00000004;
imAlpha = $00000005;
imHira = $00000006;
imSKata = $00000007;
imKata = $00000008;
imChinese = $00000009;
imSHanguel = $0000000A;
imHanguel = $0000000B;
// Constants for enum TxListBoxStyle
type
TxListBoxStyle = TOleEnum;
const
lbStandard = $00000000;
lbOwnerDrawFixed = $00000001;
lbOwnerDrawVariable = $00000002;
// Constants for enum TxMouseButton
type
TxMouseButton = TOleEnum;
const
mbLeft = $00000000;
mbRight = $00000001;
mbMiddle = $00000002;
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
ICheckListBoxX = interface;
ICheckListBoxXDisp = dispinterface;
ICheckListBoxXEvents = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
CheckListBoxX = ICheckListBoxX;
// *********************************************************************//
// Declaration of structures, unions and aliases.
// *********************************************************************//
PPUserType1 = ^IFontDisp; {*}
// *********************************************************************//
// Interface: ICheckListBoxX
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {3774F16E-5D73-11D3-B872-0040F67455FE}
// *********************************************************************//
ICheckListBoxX = interface(IDispatch)
['{3774F16E-5D73-11D3-B872-0040F67455FE}']
function Get_AllowGrayed: WordBool; safecall;
procedure Set_AllowGrayed(Value: WordBool); safecall;
function Get_BorderStyle: TxBorderStyle; safecall;
procedure Set_BorderStyle(Value: TxBorderStyle); safecall;
function Get_Color: OLE_COLOR; safecall;
procedure Set_Color(Value: OLE_COLOR); safecall;
function Get_Columns: Integer; safecall;
procedure Set_Columns(Value: Integer); safecall;
function Get_Ctl3D: WordBool; safecall;
procedure Set_Ctl3D(Value: WordBool); safecall;
function Get_DragCursor: Smallint; safecall;
procedure Set_DragCursor(Value: Smallint); safecall;
function Get_DragMode: TxDragMode; safecall;
procedure Set_DragMode(Value: TxDragMode); safecall;
function Get_Enabled: WordBool; safecall;
procedure Set_Enabled(Value: WordBool); safecall;
function Get_Flat: WordBool; safecall;
procedure Set_Flat(Value: WordBool); safecall;
function Get_Font: IFontDisp; safecall;
procedure _Set_Font(const Value: IFontDisp); safecall;
procedure Set_Font(var Value: IFontDisp); safecall;
function Get_ImeMode: TxImeMode; safecall;
procedure Set_ImeMode(Value: TxImeMode); safecall;
function Get_ImeName: WideString; safecall;
procedure Set_ImeName(const Value: WideString); safecall;
function Get_IntegralHeight: WordBool; safecall;
procedure Set_IntegralHeight(Value: WordBool); safecall;
function Get_ItemHeight: Integer; safecall;
procedure Set_ItemHeight(Value: Integer); safecall;
function Get_Items: IStrings; safecall;
procedure Set_Items(const Value: IStrings); safecall;
function Get_ParentColor: WordBool; safecall;
procedure Set_ParentColor(Value: WordBool); safecall;
function Get_ParentCtl3D: WordBool; safecall;
procedure Set_ParentCtl3D(Value: WordBool); safecall;
function Get_Sorted: WordBool; safecall;
procedure Set_Sorted(Value: WordBool); safecall;
function Get_Style: TxListBoxStyle; safecall;
procedure Set_Style(Value: TxListBoxStyle); safecall;
function Get_TabWidth: Integer; safecall;
procedure Set_TabWidth(Value: Integer); safecall;
function Get_Visible: WordBool; safecall;
procedure Set_Visible(Value: WordBool); safecall;
function Get_ItemIndex: Integer; safecall;
procedure Set_ItemIndex(Value: Integer); safecall;
function Get_SelCount: Integer; safecall;
function Get_TopIndex: Integer; safecall;
procedure Set_TopIndex(Value: Integer); safecall;
function Get_DoubleBuffered: WordBool; safecall;
procedure Set_DoubleBuffered(Value: WordBool); safecall;
function Get_VisibleDockClientCount: Integer; safecall;
function Get_Cursor: Smallint; safecall;
procedure Set_Cursor(Value: Smallint); safecall;
procedure AboutBox; safecall;
property AllowGrayed: WordBool read Get_AllowGrayed write Set_AllowGrayed;
property BorderStyle: TxBorderStyle read Get_BorderStyle write Set_BorderStyle;
property Color: OLE_COLOR read Get_Color write Set_Color;
property Columns: Integer read Get_Columns write Set_Columns;
property Ctl3D: WordBool read Get_Ctl3D write Set_Ctl3D;
property DragCursor: Smallint read Get_DragCursor write Set_DragCursor;
property DragMode: TxDragMode read Get_DragMode write Set_DragMode;
property Enabled: WordBool read Get_Enabled write Set_Enabled;
property Flat: WordBool read Get_Flat write Set_Flat;
property Font: IFontDisp read Get_Font write _Set_Font;
property ImeMode: TxImeMode read Get_ImeMode write Set_ImeMode;
property ImeName: WideString read Get_ImeName write Set_ImeName;
property IntegralHeight: WordBool read Get_IntegralHeight write Set_IntegralHeight;
property ItemHeight: Integer read Get_ItemHeight write Set_ItemHeight;
property Items: IStrings read Get_Items write Set_Items;
property ParentColor: WordBool read Get_ParentColor write Set_ParentColor;
property ParentCtl3D: WordBool read Get_ParentCtl3D write Set_ParentCtl3D;
property Sorted: WordBool read Get_Sorted write Set_Sorted;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -