Difference between revisions of "API Component.Property.SetColor"
From Flowcode Help
Jump to navigationJump to search (XML import)  | 
				 (XML import)  | 
				||
| Line 3: | Line 3: | ||
<div style="width:25%; float:right" class="toc">  | <div style="width:25%; float:right" class="toc">  | ||
| − | ===Class hierarchy===[[API |  | + | ===Class hierarchy===[[API Component|Component]]  | 
| − | :[[API Component|  | + | :[[API Component.Property|Property]]  | 
| − | ::[[API Component.Property|  | + | ::[[API Component.Property|SetColor]]  | 
| − | |||
</div>  | </div>  | ||
__TOC__  | __TOC__  | ||
Revision as of 21:20, 11 May 2013
<sidebar>API contents</sidebar> 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)