Purpose
Determines the alpha blend ratio to use for info value when drawing.
Class
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_INREADPROCESS | The bBrowser reads data about a slow connection. | 
| 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. | 
| 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. | 
| Data Type: | Integer | 
Return Value
| iRatio | The 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
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getinfoalphablendratio.htm