Purpose
Determines the column alpha blend ratio which is being used for drawing.
Class
Type
Method
Syntax
<oBrowser>:GetColumnAlphaBlendRatio(
<symStyle>,
<oColumn>
) Æ iRatio
Arguments
<symStyle> | A value that indicates whether the alpha blend ratio is to be determined for the column caption, the column values or for the column footer. The following values are supported: |
Value |
Description |
#Caption |
The alpha blend ratio is determined for the column caption. |
#Data |
The alpha blend ratio is determined for the column values. |
#Footer |
The alpha blend ratio is determined for the column footer. |
Data Type: | Symbol |
<oColumn> | The column for which the alpha blend ratio is to be determined. |
Data Type: | bDataColumn |
Return Value
iRatio | The determined alpha blend ratio. Values from 0 to 100 or the following constants are possible: |
Constant |
Value |
BABR_NONE |
0 |
BABR_LIGHT |
12 |
BABR_NORMAL |
25 |
BABR_DARK |
45 |
BABR_SOLID |
100 |
BABR_AUTO |
0xFFFFFFFF |
Data Type: | DWord |
Description
If the alpha blend ratio is determined for the column caption,
1.it examines whether a bBrowserColumn:CaptionView object is defined for the column and whether the alpha blend ratio (see also bBrowserColumn:CaptionView:AlphaBlendRatio) in this object is set unequal to BABR_AUTO.
Ü If it is, this value is returned.
2.it examines whether a bBrowser:CaptionView object is defined for the browser and whether the alpha blend ratio (see also bBrowser:CaptionView:AlphaBlendRatio) in this object is set unequal to BABR_AUTO.
Ü If it is, this value is returned.
3.it is examined whether in the access bBrowser:AlphaBlendRatio a value is set unequal to BABR_AUTO.
Ü If it is, this value is returned.
4.Ü the alpha blend ratio BABR_NORMAL is returned.
If the alpha blend ratio is determined for the column values,
1.it examines whether a bBrowserColumn:DataView object is defined for the column and whether the alpha blend ratio (see also bBrowserColumn:DataView:AlphaBlendRatio) in this object is set unequal to BABR_AUTO.
Ü If it is, this value is returned.
2.it examines whether a bBrowser:DataView object is defined for the browser and whether the alpha blend ratio (see also bBrowser:DataView:AlphaBlendRatio) in this object is set unequal to BABR_AUTO.
Ü If it is, this value is returned.
3.it is examined whether in the access bBrowser:AlphaBlendRatio a value is set unequal to BABR_AUTO.
Ü If it is, this value is returned.
4.Ü the alpha blend ratio BABR_NORMAL is returned.
If the alpha blend ratio is determined for the column footer,
1.it examines whether a bBrowserColumn:FooterView object is defined for the column and whether the alpha blend ratio (see also bBrowserColumn:FooterView:AlphaBlendRatio) in this object is set unequal to BABR_AUTO.
Ü If it is, this value is returned.
2.it examines whether a bBrowser:FooterView object is defined for the browser and whether the alpha blend ratio (see also bBrowser:FooterView:AlphaBlendRatio) in this object is set unequal to BABR_AUTO.
Ü If it is, this value is returned.
3.it is examined whether in the access bBrowser:AlphaBlendRatio a value is set unequal to BABR_AUTO.
Ü If it is, this value is returned.
4.Ü the alpha blend ratio BABR_NORMAL is returned.
See Also
bBrowser:GetColumnBackground()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getcolumnalphablendratio.htm