Navigation:  Classes > bBrowser >

bBrowser:SetInfoHeight()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Sets for an info value the height in pixels of the displayed area.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:SetInfoHeight(

<iInfoState>,

<iHeight>

) Æ lSuccess

Arguments

<iInfoState>The state for which the height is to be set. The following are supported states:

 

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

 

<iHeight>The height in pixels for the area of the info value. With the value 0 the height is determined automatically.
Data Type:Integer

Return Value

lSuccessA logical value that indicates whether the height could be set.
TRUEThe height could be set.
FALSEThe height could not be set.
Data Type:Logic

Description

Each info value can define their own height for the displayed area.

 

The method bBrowser:GetInfoHeight() can be used to get the current height setting.

 

So that changes to the height can be shown in the browser it must be redrawn with the method bBrowser:Redraw().

See Also

bBrowser:GetInfoHeight()

bBrowser:SetInfo()

bBrowser:SetInfoData()

bBrowser:SetInfoView()

 


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