Transparency (columns and controls)
Description
Settings for the transparency of the text in a control.
Applies to
Button, Column, Computed Field, GroupBox, and Text controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.controlname.Transparency |
Describe and Modify argument:
|
1 |
"controlname.Transparency { = 'value ' }" |
|
Parameter |
Description |
|---|---|
|
controlname |
The name of the column or control in the DataWindow |
|
value |
(exp) An integer in the range 0 to 100, where 0 |
Usage
In the painter
Select the control and set the value in the Font tab of the
Properties view.
Using Transparency with fonts
The Transparency property works with fonts, but only on screen.
Text with transparent properties appears blurry in PDF files. The
transparent text does not display in print unless you use True Type
fonts.
In Windows Vista, ClearType anti-aliasing conflicts with the
transparency settings and causes the fonts to appear blurred. Turn off
ClearType to avoid this problem; font transparency will work, but the
fonts will not be smoothed. You can also avoid using ClearType
fonts.
Examples
|
1 2 |
setting = dw_1.Object.cb_1.Transparency dw_1.Object.cb_1.Transparency = 50 |