Navigation:  Classes > bBrowser >

bBrowser:GetSelectorStateBackground()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Determines the background color in order to draw a selector cell in a certain state.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:GetSelectorStateBackground(

<iRow>,

<aoColorSpec>,

<lFocus>,

<lSelected>,

<lDeleted>,

<lEnabled>,

<lEoF>,

<lCurrent>

) Æ oBackground

Arguments

<iRow>Row number of the selector cell for which the background color is to be determined.
Data type:Integer

 

<aoColorSpec>Array with the foreground and background colors for normal and selected display. The array is derived with the method bBrowser:GetSelectorColorSpec().
Data type:Array

 

<lFocus>Logical value which indicates whether the background color for the focus state is to be determined.
Data type:Logic

 

<lSelected>Logical value which indicates whether the background color for the selected state is to be determined.
Data type:Logic

 

<lDeleted>Logical value which indicates whether the background color for the deleted state is to be determined.
Data type:Logic

 

<lEnabled>Logical value which indicates whether the background color for the enabled or disabled state is to be determined.
Data type:Logic

 

<lEoF>Logical value which indicates whether the background color for the end of file state is to be determined.
Data type:Logic

 

<lCurrent>A logical value which indicates whether the background color for the current record is to be determined.
Data type:Logic

Return Value

oBackgroundThis determines the background color.
Data type:Brush

Description

bBrowser:GetSelectorStateBackground() is called internally by the draw methods of the bBrowser in order to determine the background color for a selector cell in a certain state.

 

Complex states can be defined by the combination of the individual arguments

lFocus,
lSelected,
lDeleted,
lEnabled,
lEoF,
lCurrent

See Also

bBrowser:DrawSelector()

bBrowser:DrawSelectorState()

bBrowser:GetSelectorBackground()

bBrowser:GetSelectorColorSpec()

bBrowser:GetSelectorStateForeground()

 


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