Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

_ObjectSetProperty

  • Last UpdatedFeb 28, 2024
  • 1 minute read

Sets a specific property of an ActiveX object.

Syntax

INT _ObjectSetProperty(hObject, sProperty, vValue)

hObject:

The handle for the object (as returned by the ObjectByName function).

sProperty:

The name of the property you want to set.

vValue:

The value to which the property will be set. This value can be of any data type. Appropriate coercion will take place when creating the equivalent automation parameter.

Return Value

0 (zero) if successful, otherwise an error code is returned.

ObjectByName, DspAnCreateControlObject, CreateObject, CreateControlObject

Example

See CreateControlObject

See Also

ActiveX Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in