Navigation:  Classes > bBrowser >

bBrowser:GetInfoAlphaBlendRatio()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Determines the alpha blend ratio in use for drawing an info value.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:GetInfoAlphaBlendRatio(<iInfoState>) Æ iRatio

Arguments

<iInfoState>The state to whose info value the alpha blend ratio is to be determined. The following states are supported:

 

State

Description

BINFO_NOSERVER

The browser is not linked to a data server.

BINFO_SERVERNOTUSED

The data server that is linked with the browser is not opened.

BINFO_NORECORDS

The data server that is linked to the browser does not contain records. This state also arises, for example, if a filter or selective relation hides all records.

 

Data type:Integer

Return Value

iRatioThe determined alpha blend ratio. Values from 0 to 100 or the following constants are supported:

 

Constant

Value

BABR_NONE

0

BABR_LIGHT

12

BABR_NORMAL

25

BABR_DARK

45

BABR_SOLID

100

BABR_AUTO

0xFFFFFFFF

 

Data type:DWord

Description

In order to determine the alpha blend ratio for an info value,

1.it is examined whether a bViewStyle object is defined for the info value (see also bBrowser:GetInfoView()) and whether in this object the alpha blend ratio (see also bViewStyle:AlphaBlendRatio) is not set equal to BABR_AUTO.
Ü If it is, this value is returned.
2.it is examined whether a global bBrowser:InfoView object is defined for info value and whether in this object the alpha blend ratio (see also bViewStyle:AlphaBlendRatio) is not set equal to BABR_AUTO.
Ü If it is, this value is returned.
3.it is examined whether in the access bBrowser:AlphaBlendRatio a value is not set equal to BABR_AUTO.
Ü If it is, this value is returned.
4.Ü the alpha blend ratio BABR_NORMAL is returned.

See Also

bBrowser:AlphaBlendRatio

bBrowser:GetInfoAlignment()

bBrowser:GetInfoBackground()

bBrowser:GetInfoFont()

bBrowser:GetInfoForeground()

bBrowser:GetInfoGrid()

bBrowser:GetInfoView()

bBrowser:InfoView

bBrowser:SetInfoView()

 


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