Sybase 2 Barcode Reader User Manual


 
CHAPTER 10 Highlighting Information in DataWindow Objects
DataWindow Designer User’s Guide 297
Background.Color
Description
Setting for the background color of a control.
In the painter
Background Color on the General page or Font page in the Properties view.
Value
A number that specifies the control's background color.
For information on specifying colors, see “Specifying colors” on page 314.
The background color of a line is the color that displays between the segments
of the line when the pen style is not solid.
If Background.Mode is transparent (1), Background.Color is ignored.
Example
The following statement specifies that if the person represented by the current
row uses the day care benefit, the background color of the control is set to light
gray (15790320). If not, the background color is set to white (16777215):
If(bene_day_care = 'Y', 15790320, 16777215)
In this example, the condition is applied to the Background.Color property for
three controls: the
emp_id column, the emp_fname column, and the emp_lname
column.
X1, X2 X1, X2 on Position page X coordinates of either end of a line
Y Y on Position page Y position of a control relative to the band in which
it is located
Y1, Y2 Y1, Y2 on Position page Y coordinates of either end of a line
Property
Painter option in
Properties view Description