Jump to content

API Component.Property.SetColor: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import of API auto-gen
Admin (talk | contribs)
XML import of API auto-gen
Line 1: Line 1:
<sidebar>API contents</sidebar>
wiki page name
==Component.PropertySetColor==
 
Sets a components 'color' property as a R,G,B value
Sets a components 'color' property as a R,G,B value
 
----


===Parameters===
===Parameters===
Line 23: Line 25:


===Examples===
===Examples===
====Calling in a calculation====
====Calling in a calculation:====
* Add to a calculation icon: <pre class="brush:[C]">::Component.Property.SetColor(handle, red, green, blue)</pre>
* Add to a calculation icon: ::Component.Property.SetColor(handle, red, green, blue)

Revision as of 15:35, 10 May 2013

wiki page name

Component.PropertySetColor

Sets a components 'color' property as a R,G,B value


Parameters

HANDLE Handle

The component handle of the property owner

BYTE Red

The 0-255 red part of the colour

BYTE Green

The 0-255 green part of the colour

BYTE Blue

The 0-255 blue part of the colour

Return value

This call does not return a value

Detailed description

No additional information

Examples

Calling in a calculation:

  • Add to a calculation icon: ::Component.Property.SetColor(handle, red, green, blue)