Purpose
Determines the alignment for a record group item.
Class
Type
Method
Syntax
<oBrowser>:GetRecordGroupItemAlignment(<oRecordGroupItem>) Æ iAlignment
Arguments
| <oRecordGroupInfo> | The record group item for that the alignment is to be determined. | 
| Data Type: | bRecordGroupItem | 
Return Value
| iAlignment | The determined alignment. A combination of the following constants can be returned: | 
| Constant | Description | 
| BALIGN_AUTO | The default values for horizontal and vertical alignment are used. | 
| BALIGN_LEFT | Left justified alignment. | 
| BALIGN_RIGHT | Right justified alignment. | 
| BALIGN_CENTER | Horizontal centered alignment. | 
| BALIGN_TOP | Top justified alignment. | 
| BALIGN_BOTTOM | Bottom justified alignment. | 
| BALIGN_VCENTER | Vertical centered alignment. | 
| Data Type: | Integer | 
Description
In order to determine the alignment for a record group item,
1.it is examined whether in the associated record group level (see bRecordGroupItem:Level) a bViewStyle object is defined (see also bRecordGroupLevel:GroupView) and whether in this object an alignment (see also bViewStyle:Alignment) is not set equal to BALIGN_AUTO.
Ü If it is, this alignment is returned.
2.it is examined whether a bBrowser:DataView object is defined and whether in this object an alignment (see also bBrowser:DataView:Alignment) is set unequal to BALIGN_AUTO.
Ü If it is, this alignment is returned.
3.Ü the value BALIGN_LEFT for the horizontal and BALIGN_TOP for the vertical alignment is returned.
See Also
bBrowser:GetRecordGroupItemOptions()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getrecordgroupitemalignment.htm