Was this helpful?
TransparentColor Attribute
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 which 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 example:
thisframe.TransparentColor = CC_TRANSPARENT; /* restore default transparency color */
thatframe.TransparentColor = RGB(255, 0, 0); /* RED */
To enable transparency, set the FrameForm's BgPattern (see BgPattern Attribute) to either FP_CLEAR or FP_BITMAPCLEAR (FP_CLEAR with a transparent bitmap on top).
Last modified date: 06/25/2024