Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Poll
Would you like to see a separate forum on Baanboard for the ION product?
No
14%
Yes
86%
Total votes: 78

Baanboard at LinkedIn


Reference Content

 
rgb()
By patvdv at 26 Feb 2008 - 21:56

rgb()

Syntax

long rgb( long red,
         long green, long blue )




Description

Use this to compose a color by specifying its red, green, and blue intensities. The intensities must be in the range 0 to 255.

Return values

A long which can be used as a color in graphical contexts such as windows, user interface controls, and so on.

Context

3GL library function.

Example

 long new_color, red_int, green_int, blue_int
                 new_color = rgb(46,139,87)
                 red_int = red.component( new_color )            | 46
                 green_int = green.component( new_color )        | 139
                 blue_int = blue.component( new_color )  | 87

Related topics



0
No votes yet


All times are GMT +2. The time now is 14:08.


©2001-2013 - Baanboard.com - Baanforums.com