omron — XSet

Appendix: Built-in Scripting Language Returned value Returns the Method result as reported by the ActiveX Control or .NET Control object. Not all Methods return results. 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 Run the XPos method on the ActiveX Control named "ActXCir," with four original values passed to the method: XRun( "ActXCir", "XPos", FALSE, 12, 4.6, "This is my text." ) Run the XPos method on the ActiveX Control named "ActXCir," with four referring tags passed to the method:

XRun( "ActXCir", "XPos", TagA, TagB, TagC, TagD ) XSet This function sets the value of a Property on an ActiveX Control or .NET Control object. 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" ) InduSoft Web Studio Page 615 Function Group Execution Windows Embedded Thin Client XSet ActiveX and .NET Control Asynchronous Supported ActiveX Controls only (see Notes) Supported