Vcl.OleCtnrs.TOleContainer.PrimaryVerb

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PrimaryVerb: Integer read GetPrimaryVerb;

C++

__property int PrimaryVerb = {read=GetPrimaryVerb, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.OleCtnrs.pas
Vcl.OleCtnrs.hpp
Vcl.OleCtnrs TOleContainer

Description

Specifies the index of the primary (default) verb for the OLE object.

Use PrimaryVerb to determine which verb in the ObjectVerbs list specifies the default action for the OLE object. In a call to the DoVerb method, DoVerb(ovPrimary) is the same as DoVerb(PrimaryVerb). An OLE object must already be loaded in the container before accessing the PrimaryVerb property.

See Also