SHIP:Sail:set

From Serious Documentation
Jump to: navigation, search
Function Returns Introduced Description
set v5.1.0 Set a property value of a Node and its peers

See Also:

Prototype

set(Node.DataType property, DataType value, DataType peer_value);

Parameters/Return Value

Parameter Data Type Description
property Node.DataType Property to set
value DataType new property value for the chosen Node's property
peer_value DataType new property value for peers
Return no return value

Detailed Description

This function sets the property of a Node to the value indicated and sets the property of the nodes peers to the indicated peers_value. The value should be of the same DataType as the chosen property.

Examples

Example Results Notes
set(pHome.visible, true, false); Set home page to visible and all other pages to non-visible
set(txEg1.textsize, 32, 20); Set the property textsize of txEg1 to 32, and of all other peers to 20