Vcl.OleCtrls.TOleControl.DoObjectVerb

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoObjectVerb(Verb: Integer);

C++

void __fastcall DoObjectVerb(int Verb);

Properties

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

Description

Notifies the ActiveX control to perform one of its actions.

Use DoObjectVerb to notify the ActiveX control to perform one of its actions. Verb is an integer that corresponds to the action. Most application-defined verbs are small positive integers.



Verb Name Verb

OLEIVERB_PRIMARY

0

OLEIVERB_SHOW

–1

OLEIVERB_OPEN

–2

OLEIVERB_HIDE

–3

OLEIVERB_UIACTIVATE

–4

OLEIVERB_INPLACEACTIVATE

–5

OLEIVERB_DISCARDUNDOSTATE

–6

OLEIVERB_PROPERTIES

–7



For more information about verbs, search the Microsoft Developer Network.