Returns or sets a value that determines whether text is drawn without drawing the background color around the characters.
Object.FontTransparent [ = bFontTransparent ]
The FontTransparent property syntax has the following parts:
Name |
Type |
Description |
Object |
AForm |
AForm object |
bFontTransparent |
Bool |
A boolean expression that specifies whether text is drawn without drawing the background color around the characters. |
bFontTransparent can be one of the following:
Value |
Description |
True * |
Permits background graphics and text to show around the spaces of the characters in a font. |
False |
Masks existing background graphics and text around the characters of a font. |
FontTransparent may be set at design time or run-time, but changes won't affect graphics or text already drawn to the Form.
The property is not applicable for MDI Form type since drawing functions are not supported for MDI Forms.
The following statement changes the AForm so the background text or graphics will not show around the spaces of font characters:
FontTransparent=False
FillColor=aclrRed
DrawText("Hello")
BorderStyle, DrawStyle, TextHeight, DrawMode, FillColor, FillStyle, Font, TextWidth