RGB-VALUE function
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Returns an INTEGER value that represents a combination of a red, green, and blue color value. This function allows you to define an arbitrary color, expanding beyond those colors defined in the color table.
Note: Does
not apply to SpeedScript programming.
Syntax
|
- redval, greenval, blueval
- Identifies red, green, and blue color values which can be combined to define a unique color value.
Example
The following code fragment shows how to set the background color of an ActiveX control:
|
For detailed information on programming ActiveX Controls, see OpenEdge Programming Interfaces.
Notes
The RGB-VALUE function is generally most useful when it is used with ActiveX Controls.