Skip to content

Set Property

Assign the value of one property to another property on the same page.

Example

When the mouse clicks on the rectangle control, the fill color of the rectangle is assigned to the ellipse as the fill color of the ellipse.

alt text

  1. Draw a rectangle and an ellipse control on the page. Set the background color of the rectangle to green and the background color of the ellipse to white.
  2. On the rectangular control, set the event and select the mouse pressed event.
  3. Turn on the "Enable" button and select "Set Property" as the operation type.
  4. In "Property", select the background color property of the ellipse.
  5. In New Value, select the background color property of the rectangle.
  6. Security group is not set.
  7. Click the "OK" button.
  8. Click the "Preview" button on the screen to view the running effect.

    set-property

Note: Manual input is also supported in the text boxes for attributes and new values.