Navigation:  Classes > bBrowser >

bBrowser:CalculateRowHeight()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Calculates the maximum height of a row.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:CalculateRowHeight(

<nRowNo>,

<nRecNo>

) Æ iHeight

Arguments

<nRowNo>The row number of the data row for which the height is to be calculted.
Data Type:Integer | Float | Real8

 

<nRecNo>The record number of the data row for which the height is to be calculted.
Data Type:Integer | Float | Real8

Return Value

iHeightThe calculated row height in pixels.
Data Type:Integer

Description

bBrowser:CalculateRowHeight() calculates the maximum height of a data row in pixels.

 

The row height is calculated depending on whether the variable row height (see bBrowser:EnableRowHeightVariable()) is enabled or disabled.

1.If the variable row height is disabled then the value from the access bBrowser:RowHeight is always returned as row height.

2.If the variable row height is enabled then the row height is calculated with the individual column values of the data row. The maximum row height is limited by the access bBrowser:RowHeightMax.

See Also

bBrowser:EnableRowHeightVariable()

bBrowser:GetRowHeight()

bBrowser:IsRowHeightVariable()

bBrowser:RowResize()

bBrowser:SetRowHeight()

 


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