#
CwSetProperty

### Syntax:

    call CwSetProperty hObject, sProperty, value

            hObject         (handle) Handle of the object whose property we
                            wish to change.

            sProperty       (string) The name of the property to change.

            value           (variant) The new value to which the property
                            is set.

### Description:

This procedure changes the value of a property of an object. See the section on properties for a complete list of the available properties and what they do.

The range of expected values for the property (i.e. the data type) depends on the property itself.

### Example:

    /* Create an object and turn it blue. */
    o = CwCreateEffect("rectangle", "solid color")
    tool = CwGetTool(o)
    call CwSetProperty tool, "Color", "Blue"

Functions by NAME | Index | Functions by PURPOSE