ControlSetProperty Method
The property to set.
The arguments passed to the property set. Zero or more arguments, passed as a comma-delimited list of values. Pass parameters only of data types that can be stored in a Variant.
Sets a property of a control that is not thread-safe.
Remarks
If the InvokeRequired Property of a Control in a Windows Form is true, it is bound to a specific thread and you cannot access its properties from a different thread. Use this method to set a property of such a control.

For more information, see the MSDN documentation for System.Windows.Control.InvokeRequired.

For a Custom Server running in the UFT context, pass only serialized types. If one of the objects in the list is not serialized, ControlSetProperty fails.

Syntax
'Declaration
 
Protected Sub ControlSetProperty( _
   ByVal sProperty As System.String, _
   ByVal ParamArray list() As System.Object _
) 
protected void ControlSetProperty( 
   System.string sProperty,
   params System.object[] list
)

Parameters

sProperty
The property to set.
list
The arguments passed to the property set. Zero or more arguments, passed as a comma-delimited list of values. Pass parameters only of data types that can be stored in a Variant.