Navigation:  Classes > bGrid >

bGrid:BackgroundList

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

A list of background colors.

Class

bGrid

Type

Access

Data Type

bItemList

Description

With the list of the background colors a grid with different background colors can be drawn.

 

If the list contains for example the 3 background colors red, yellow and green then the background color

red is used in the rows 1, 4, 7, 10, ...

yellow is used in the rows 2, 5, 8, 11, ... and

green is used in the rows 3, 6, 9, 12, ...

 

With different background colors the legibility of values in a grid can be increased.

Samples

The following sample defines a grid with the 2 background colors yellow and white.

 

LOCAL oGrid AS bGrid

 

oGrid := bGrid{BGRID_OUTLINE}

oGrid:BackgroundList:Add(Brush{Color{COLORYELLOW}})

oGrid:BackgroundList:Add(Brush{BRUSHWHITE})

See Also

bGrid:Foreground

 


Page url: http://www.YOURSERVER.com/index.html?bgrid_backgroundlist.htm