📄 vbide_tlb.pas
字号:
out EndColumn: Integer); dispid 1610743811;
procedure SetSelection(StartLine: Integer; StartColumn: Integer; EndLine: Integer;
EndColumn: Integer); dispid 1610743812;
property TopLine: Integer dispid 1610743813;
property CountOfVisibleLines: Integer readonly dispid 1610743815;
property CodeModule: CodeModule readonly dispid 1610743816;
procedure Show; dispid 1610743817;
property CodePaneView: vbext_CodePaneview readonly dispid 1610743818;
end;
// *********************************************************************//
// Interface: _References
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {0002E17A-0000-0000-C000-000000000046}
// *********************************************************************//
_References = interface(IDispatch)
['{0002E17A-0000-0000-C000-000000000046}']
function Get_Parent: VBProject; safecall;
function Get_VBE: VBE; safecall;
function Item(index: OleVariant): Reference; safecall;
function Get_Count: Integer; safecall;
function _NewEnum: IUnknown; safecall;
function AddFromGuid(const Guid: WideString; Major: Integer; Minor: Integer): Reference; safecall;
function AddFromFile(const FileName: WideString): Reference; safecall;
procedure Remove(const Reference: Reference); safecall;
property Parent: VBProject read Get_Parent;
property VBE: VBE read Get_VBE;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: _ReferencesDisp
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {0002E17A-0000-0000-C000-000000000046}
// *********************************************************************//
_ReferencesDisp = dispinterface
['{0002E17A-0000-0000-C000-000000000046}']
property Parent: VBProject readonly dispid 1610743808;
property VBE: VBE readonly dispid 1610743809;
function Item(index: OleVariant): Reference; dispid 0;
property Count: Integer readonly dispid 1610743811;
function _NewEnum: IUnknown; dispid -4;
function AddFromGuid(const Guid: WideString; Major: Integer; Minor: Integer): Reference; dispid 1610743813;
function AddFromFile(const FileName: WideString): Reference; dispid 1610743814;
procedure Remove(const Reference: Reference); dispid 1610743815;
end;
// *********************************************************************//
// Interface: Reference
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {0002E17E-0000-0000-C000-000000000046}
// *********************************************************************//
Reference = interface(IDispatch)
['{0002E17E-0000-0000-C000-000000000046}']
function Get_Collection: References; safecall;
function Get_VBE: VBE; safecall;
function Get_Name: WideString; safecall;
function Get_Guid: WideString; safecall;
function Get_Major: Integer; safecall;
function Get_Minor: Integer; safecall;
function Get_FullPath: WideString; safecall;
function Get_BuiltIn: WordBool; safecall;
function Get_IsBroken: WordBool; safecall;
function Get_Type_: vbext_RefKind; safecall;
function Get_Description: WideString; safecall;
property Collection: References read Get_Collection;
property VBE: VBE read Get_VBE;
property Name: WideString read Get_Name;
property Guid: WideString read Get_Guid;
property Major: Integer read Get_Major;
property Minor: Integer read Get_Minor;
property FullPath: WideString read Get_FullPath;
property BuiltIn: WordBool read Get_BuiltIn;
property IsBroken: WordBool read Get_IsBroken;
property Type_: vbext_RefKind read Get_Type_;
property Description: WideString read Get_Description;
end;
// *********************************************************************//
// DispIntf: ReferenceDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {0002E17E-0000-0000-C000-000000000046}
// *********************************************************************//
ReferenceDisp = dispinterface
['{0002E17E-0000-0000-C000-000000000046}']
property Collection: References readonly dispid 1610743808;
property VBE: VBE readonly dispid 1610743809;
property Name: WideString readonly dispid 1610743810;
property Guid: WideString readonly dispid 1610743811;
property Major: Integer readonly dispid 1610743812;
property Minor: Integer readonly dispid 1610743813;
property FullPath: WideString readonly dispid 1610743814;
property BuiltIn: WordBool readonly dispid 1610743815;
property IsBroken: WordBool readonly dispid 1610743816;
property Type_: vbext_RefKind readonly dispid 1610743817;
property Description: WideString readonly dispid 1610743818;
end;
// *********************************************************************//
// DispIntf: _dispReferences_Events
// Flags: (4240) Hidden NonExtensible Dispatchable
// GUID: {CDDE3804-2064-11CF-867F-00AA005FF34A}
// *********************************************************************//
_dispReferences_Events = dispinterface
['{CDDE3804-2064-11CF-867F-00AA005FF34A}']
procedure ItemAdded(const Reference: Reference); dispid 0;
procedure ItemRemoved(const Reference: Reference); dispid 1;
end;
CoWindows = class
class function Create: _Windows_;
class function CreateRemote(const MachineName: string): _Windows_;
end;
CoLinkedWindows = class
class function Create: _LinkedWindows;
class function CreateRemote(const MachineName: string): _LinkedWindows;
end;
CoReferencesEvents = class
class function Create: _ReferencesEvents;
class function CreateRemote(const MachineName: string): _ReferencesEvents;
end;
CoCommandBarEvents = class
class function Create: _CommandBarControlEvents;
class function CreateRemote(const MachineName: string): _CommandBarControlEvents;
end;
CoProjectTemplate = class
class function Create: _ProjectTemplate;
class function CreateRemote(const MachineName: string): _ProjectTemplate;
end;
CoVBProject = class
class function Create: _VBProject;
class function CreateRemote(const MachineName: string): _VBProject;
end;
CoVBProjects = class
class function Create: _VBProjects;
class function CreateRemote(const MachineName: string): _VBProjects;
end;
CoComponents = class
class function Create: _Components;
class function CreateRemote(const MachineName: string): _Components;
end;
CoVBComponents = class
class function Create: _VBComponents;
class function CreateRemote(const MachineName: string): _VBComponents;
end;
CoComponent = class
class function Create: _Component;
class function CreateRemote(const MachineName: string): _Component;
end;
CoVBComponent = class
class function Create: _VBComponent;
class function CreateRemote(const MachineName: string): _VBComponent;
end;
CoProperties = class
class function Create: _Properties;
class function CreateRemote(const MachineName: string): _Properties;
end;
CoCodeModule = class
class function Create: _CodeModule;
class function CreateRemote(const MachineName: string): _CodeModule;
end;
CoCodePanes = class
class function Create: _CodePanes;
class function CreateRemote(const MachineName: string): _CodePanes;
end;
CoCodePane = class
class function Create: _CodePane;
class function CreateRemote(const MachineName: string): _CodePane;
end;
CoReferences = class
class function Create: _References;
class function CreateRemote(const MachineName: string): _References;
end;
implementation
uses ComObj;
class function CoWindows.Create: _Windows_;
begin
Result := CreateComObject(CLASS_Windows) as _Windows_;
end;
class function CoWindows.CreateRemote(const MachineName: string): _Windows_;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Windows) as _Windows_;
end;
class function CoLinkedWindows.Create: _LinkedWindows;
begin
Result := CreateComObject(CLASS_LinkedWindows) as _LinkedWindows;
end;
class function CoLinkedWindows.CreateRemote(const MachineName: string): _LinkedWindows;
begin
Result := CreateRemoteComObject(MachineName, CLASS_LinkedWindows) as _LinkedWindows;
end;
class function CoReferencesEvents.Create: _ReferencesEvents;
begin
Result := CreateComObject(CLASS_ReferencesEvents) as _ReferencesEvents;
end;
class function CoReferencesEvents.CreateRemote(const MachineName: string): _ReferencesEvents;
begin
Result := CreateRemoteComObject(MachineName, CLASS_ReferencesEvents) as _ReferencesEvents;
end;
class function CoCommandBarEvents.Create: _CommandBarControlEvents;
begin
Result := CreateComObject(CLASS_CommandBarEvents) as _CommandBarControlEvents;
end;
class function CoCommandBarEvents.CreateRemote(const MachineName: string): _CommandBarControlEvents;
begin
Result := CreateRemoteComObject(MachineName, CLASS_CommandBarEvents) as _CommandBarControlEvents;
end;
class function CoProjectTemplate.Create: _ProjectTemplate;
begin
Result := CreateComObject(CLASS_ProjectTemplate) as _ProjectTemplate;
end;
class function CoProjectTemplate.CreateRemote(const MachineName: string): _ProjectTemplate;
begin
Result := CreateRemoteComObject(MachineName, CLASS_ProjectTemplate) as _ProjectTemplate;
end;
class function CoVBProject.Create: _VBProject;
begin
Result := CreateComObject(CLASS_VBProject) as _VBProject;
end;
class function CoVBProject.CreateRemote(const MachineName: string): _VBProject;
begin
Result := CreateRemoteComObject(MachineName, CLASS_VBProject) as _VBProject;
end;
class function CoVBProjects.Create: _VBProjects;
begin
Result := CreateComObject(CLASS_VBProjects) as _VBProjects;
end;
class function CoVBProjects.CreateRemote(const MachineName: string): _VBProjects;
begin
Result := CreateRemoteComObject(MachineName, CLASS_VBProjects) as _VBProjects;
end;
class function CoComponents.Create: _Components;
begin
Result := CreateComObject(CLASS_Components) as _Components;
end;
class function CoComponents.CreateRemote(const MachineName: string): _Components;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Components) as _Components;
end;
class function CoVBComponents.Create: _VBComponents;
begin
Result := CreateComObject(CLASS_VBComponents) as _VBComponents;
end;
class function CoVBComponents.CreateRemote(const MachineName: string): _VBCom
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -