Vcl.AxCtrls.TActiveXControl.PropRequestEdit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function PropRequestEdit(const PropertyName: WideString): Boolean; overload;
function PropRequestEdit(DispID: TDispID): Boolean; overload;

C++

bool __fastcall PropRequestEdit(const System::WideString PropertyName)/* overload */;
bool __fastcall PropRequestEdit(int DispID)/* overload */;

Properties

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

Description

Indicates whether a specified property can be changed.

Call PropRequestEdit to determine whether the property specified by the DispID (or PropertyName) parameter can be edited. PropRequestEdit uses the IPropertyNotifySink interface to determine whether the property can be changed, and returns True if it can.

When possible, call this function with the DispID rather than the PropertyName because it is more efficient. Calling PropRequestEdit with the PropertyName first looks up the DispID from the given PropertyName before generating the event.