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:

dw_control.Object.controlname.Transparency

Describe and Modify argument:

"controlname.Transparency { = 'value ' }"

Parameter

Description

controlname

The name of the column or control in the DataWindow for which you want to specify the percentage transparency for the text of the column or control.

value

(exp) An integer in the range 0 to 100, where 0 means that the text background is opaque and 100 that it is completely transparent.


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.

Examples

setting = dw_1.Object.cb_1.Transparency
dw_1.Object.cb_1.Transparency = 50