Activation

Applies to

OLE controls

Description

Specifies how the user activates the control. Choices are:

During development, you activate the object in the Window painter.

Usage


In a painter

StepsTo specify how the object is activated:

  1. Select the desired setting from the Activation drop-down list on the General page of the control’s Properties view.

    The control can always be activated programmatically, regardless of the Activation setting.


In scripts

The Activation property takes a value of the omActivation enumerated datatype.

This example changes the Activation property type to ActivateOnGetFocus! for the object ole_1:

ole_1.Activation = ActivateOnGetFocus!