XSet

This function sets the value of a Property on an ActiveX Control or .NET Control object.

Function Group Execution Windows Embedded Thin Client
XSet ActiveX and .NET Control Asynchronous Supported ActiveX Controls only (see Notes) Supported

Syntax

XSet(strName,strProperties,Value)
strName
The unique name of the ActiveX Control or .NET Control object, as configured in the Name field of the Object Properties dialog.
strProperties
The Property that you want to set the value of. Available Properties are listed in the Configuration (for an ActiveX Control) or Members (for a .NET Control) dialog.
Value
A tag, expression, or data value of any type; the value to which you want to set the Property.

Returned value

This function does not return any value.

Notes

This function cannot be used in Tasks or in the Global Procedures script. Also, this function is not supported for .NET Control objects running on a Windows Embedded station.

Examples

Set the value of the Display property on the ActiveX Control named "ActXDisplay" to "Status Normal":
XSet( "ActXDisplay", "Display", "Status Normal" )