Vcl.AxCtrls.TPropertyPage.EnumCtlProps

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EnumCtlProps(PropType: TGUID; PropNames: TStrings);

C++

void __fastcall EnumCtlProps(const GUID &PropType, System::Classes::TStrings* PropNames);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.AxCtrls.pas
Vcl.AxCtrls.hpp
Vcl.AxCtrls TPropertyPage

Description

Looks for a PropType type property in a control on the form.

Use EnumCtlProps to locate all properties of the ActiveX object specified by OleObject that use the GUID specified by the PropType parameter. The names of all properties of the specified type are added to the PropNames list. The property names can be used subsequently to read or write property values using the IDispatch interface of the ActiveX object.

Note: EnumCtlProps does not clear the PropNames list before adding property names. Applications should clear the string list before calling EnumCtlProps to avoid mistaking entries that were previously in the list for properties of the ActiveX object.

See Also