Vcl.OleCtrls.TOleControl.GetIDispatchProp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetIDispatchProp(Index: Integer): IDispatch;

C++

_di_IDispatch __fastcall GetIDispatchProp(int Index);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.OleCtrls.pas
Vcl.OleCtrls.hpp
Vcl.OleCtrls TOleControl

Description

Reads a property of an ActiveX control. The property is expected to be of type IDispatch.

Use GetIDispatchProp to read a property of an ActiveX control. The Index parameter specifies the dispid of the property being read. GetIDispatchProp returns the value of the read property.

See Also