Migration Guide : E. Features Introduced in OpenROAD 6.2 : Changes to Existing Features : FrameForm Class Gets New Transparency Attribute
 
Share this page          
FrameForm Class Gets New Transparency Attribute
Previously, OpenROAD system classes that represented fields on a form allowed the BgPattern attribute to be set to FP_CLEAR (transparent background) or FP_BITMAPCLEAR (FP_CLEAR with a transparent bitmap on top of it) with the exception of FrameForms. In this version of OpenROAD, FrameForms can now be made transparent.
By enabling FrameForms to have FP_CLEAR and FP_BITMAPCLEAR backgrounds, transparent frames can show what is underneath them (all applications between the desktop and the FrameForm being painted). Users can now see what is underneath the FrameForm.
The FrameForm class, which encloses a full set of form fields in a frame, has the following new attribute:
TransparencyColor
Data Type: integer
4GL Access: RW
The TransparentColor attribute specifies an RGB color that is used for transparency. The default is CC_TRANSPARENT. Portions of the FrameForm that match the TransparentColor are transparent. Areas underneath the FrameForm's transparent area let users see what lies underneath the frame. You can set the transparency color for each individual frame.
For more information, see TransparencyColor Attribute in the Language Reference Guide, and Select a Color for Transparency in the Workbench User Guide.