Assigning colors and fonts to ActiveX Automation objects and ActiveX controls
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Assigning colors and fonts to ActiveX Automation objects and ActiveX controls
Properties associated with ActiveX Automation objects
and ActiveX controls allow you to define unique characteristics,
such as color and font, for each object. For example, to set colors
for an ActiveX control, you need to set one or more of the color
properties of the control to some RGB value. There are three ways
to obtain an RGB value. You can use the RGB–VALUE function,
use the COLOR-TABLE:GET-RGB-VALUE( ) method, or
you can get the value from some color property of an ActiveX control
or an ActiveXAutomation object. For fonts, an ActiveX Automation
Server or ActiveX control generally provide a Font object that allows
you to specify font properties.
For further information about assigning colors and fonts to ActiveX controls and ActiveX Automation objects, see ActiveX Automation Support and ActiveX Control Support.