../pvss.htm menu.gif basics.gif

setMultiValue()

Sets any number of graphics attributes of any number of graphics elements.

Synopsis

Parameters

Return value

0, if unsuccessful -1

Errors

missing/incorrect arguments

Description

The function setMultiValue() sets any number of graphics objects of any number of graphics elements. It works like the function setValue(). Particularly where graphics properties of objects that overlap are to be modified together, this can be done quicker by a setMultiValue() than with an appropriate number of setValue() instructions, as fewer redraws are required.

IconExample

Setting the border color of the own object to red-green blinking, with a clock rate of ¼ second. Setting the background color of the object "circle" to blue.

 

main()

{

 

...

 

setMultiValue("", "foreCol", "<[100,0,0],2,[0,100,0],2,[0,0,0],0,[0,0,0],0,[0,0,0],0,[0,0,0],0>", "circle", "backCol", "[0,0,100]");

 

...

 

}

 

Relates to

Graphics

Availability

UI

See also

Top Of Page

 

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved