📄 xcontrol1_tlb.pas
字号:
unit XControl1_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 : 1.2
// File generated on 2009-1-20 下午 03:24:07 from Type Library described below.
// ************************************************************************ //
// Type Lib: C:\Documents and Settings\Administrator\桌面\test\XControl1.ocx (1)
// LIBID: {2996680F-98AC-4AFD-80E0-C1650A9A3984}
// LCID: 0
// Helpfile:
// HelpString: XControl1 Library
// DepndLst:
// (1) v2.0 stdole, (C:\WINDOWS\system32\STDOLE2.TLB)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
interface
uses Windows, ActiveX, Classes, Graphics, OleCtrls, OleServer, StdVCL, Variants;
// *********************************************************************//
// 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
XControl1MajorVersion = 1;
XControl1MinorVersion = 0;
LIBID_XControl1: TGUID = '{2996680F-98AC-4AFD-80E0-C1650A9A3984}';
IID_ICalendarX: TGUID = '{30BBBC02-742D-4C46-BF57-38C2EBCD5BF3}';
DIID_ICalendarXEvents: TGUID = '{D2ABC20B-0636-4878-8853-D022ADC5F873}';
CLASS_CalendarX: TGUID = '{A66AC7FA-E831-42D4-9E0F-6CC868262B08}';
// *********************************************************************//
// 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;
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
ICalendarX = interface;
ICalendarXDisp = dispinterface;
ICalendarXEvents = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
CalendarX = ICalendarX;
// *********************************************************************//
// Declaration of structures, unions and aliases.
// *********************************************************************//
PPUserType1 = ^IFontDisp; {*}
// *********************************************************************//
// Interface: ICalendarX
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {30BBBC02-742D-4C46-BF57-38C2EBCD5BF3}
// *********************************************************************//
ICalendarX = interface(IDispatch)
['{30BBBC02-742D-4C46-BF57-38C2EBCD5BF3}']
function Get_CalendarDate: Double; safecall;
procedure Set_CalendarDate(Value: Double); safecall;
procedure NextMonth; safecall;
procedure NextYear; safecall;
procedure PrevMonth; safecall;
procedure PrevYear; safecall;
procedure UpdateCalendar; 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_Ctl3D: WordBool; safecall;
procedure Set_Ctl3D(Value: WordBool); safecall;
function Get_Day: Integer; safecall;
procedure Set_Day(Value: Integer); 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_Font: IFontDisp; safecall;
procedure Set_Font(const Value: IFontDisp); safecall;
procedure _Set_Font(var Value: IFontDisp); safecall;
function Get_GridLineWidth: Integer; safecall;
procedure Set_GridLineWidth(Value: Integer); safecall;
function Get_Month: Integer; safecall;
procedure Set_Month(Value: Integer); safecall;
function Get_ParentColor: WordBool; safecall;
procedure Set_ParentColor(Value: WordBool); safecall;
function Get_ReadOnly: WordBool; safecall;
procedure Set_ReadOnly(Value: WordBool); safecall;
function Get_StartOfWeek: Smallint; safecall;
procedure Set_StartOfWeek(Value: Smallint); safecall;
function Get_UseCurrentDate: WordBool; safecall;
procedure Set_UseCurrentDate(Value: WordBool); safecall;
function Get_Visible: WordBool; safecall;
procedure Set_Visible(Value: WordBool); safecall;
function Get_Year: Integer; safecall;
procedure Set_Year(Value: Integer); safecall;
function Get_DoubleBuffered: WordBool; safecall;
procedure Set_DoubleBuffered(Value: WordBool); safecall;
function Get_AlignDisabled: WordBool; safecall;
function Get_VisibleDockClientCount: Integer; safecall;
function DrawTextBiDiModeFlagsReadingOnly: Integer; safecall;
procedure InitiateAction; safecall;
function IsRightToLeft: WordBool; safecall;
function UseRightToLeftReading: WordBool; safecall;
function UseRightToLeftScrollBar: WordBool; safecall;
procedure SetSubComponent(IsSubComponent: WordBool); safecall;
procedure AboutBox; safecall;
property CalendarDate: Double read Get_CalendarDate write Set_CalendarDate;
property BorderStyle: TxBorderStyle read Get_BorderStyle write Set_BorderStyle;
property Color: OLE_COLOR read Get_Color write Set_Color;
property Ctl3D: WordBool read Get_Ctl3D write Set_Ctl3D;
property Day: Integer read Get_Day write Set_Day;
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 Font: IFontDisp read Get_Font write Set_Font;
property GridLineWidth: Integer read Get_GridLineWidth write Set_GridLineWidth;
property Month: Integer read Get_Month write Set_Month;
property ParentColor: WordBool read Get_ParentColor write Set_ParentColor;
property ReadOnly: WordBool read Get_ReadOnly write Set_ReadOnly;
property StartOfWeek: Smallint read Get_StartOfWeek write Set_StartOfWeek;
property UseCurrentDate: WordBool read Get_UseCurrentDate write Set_UseCurrentDate;
property Visible: WordBool read Get_Visible write Set_Visible;
property Year: Integer read Get_Year write Set_Year;
property DoubleBuffered: WordBool read Get_DoubleBuffered write Set_DoubleBuffered;
property AlignDisabled: WordBool read Get_AlignDisabled;
property VisibleDockClientCount: Integer read Get_VisibleDockClientCount;
end;
// *********************************************************************//
// DispIntf: ICalendarXDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {30BBBC02-742D-4C46-BF57-38C2EBCD5BF3}
// *********************************************************************//
ICalendarXDisp = dispinterface
['{30BBBC02-742D-4C46-BF57-38C2EBCD5BF3}']
property CalendarDate: Double dispid 201;
procedure NextMonth; dispid 202;
procedure NextYear; dispid 203;
procedure PrevMonth; dispid 204;
procedure PrevYear; dispid 205;
procedure UpdateCalendar; dispid 206;
property BorderStyle: TxBorderStyle dispid 207;
property Color: OLE_COLOR dispid -501;
property Ctl3D: WordBool dispid 208;
property Day: Integer dispid 209;
property DragCursor: Smallint dispid 210;
property DragMode: TxDragMode dispid 211;
property Enabled: WordBool dispid -514;
property Font: IFontDisp dispid -512;
property GridLineWidth: Integer dispid 212;
property Month: Integer dispid 213;
property ParentColor: WordBool dispid 214;
property ReadOnly: WordBool dispid 215;
property StartOfWeek: Smallint dispid 216;
property UseCurrentDate: WordBool dispid 217;
property Visible: WordBool dispid 218;
property Year: Integer dispid 219;
property DoubleBuffered: WordBool dispid 220;
property AlignDisabled: WordBool readonly dispid 221;
property VisibleDockClientCount: Integer readonly dispid 222;
function DrawTextBiDiModeFlagsReadingOnly: Integer; dispid 223;
procedure InitiateAction; dispid 224;
function IsRightToLeft: WordBool; dispid 225;
function UseRightToLeftReading: WordBool; dispid 226;
function UseRightToLeftScrollBar: WordBool; dispid 227;
procedure SetSubComponent(IsSubComponent: WordBool); dispid 228;
procedure AboutBox; dispid -552;
end;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -