Navigation:  Classes > bBrowser >

bBrowser:SetInfoView()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Sets for an info value the view style.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:SetInfoView(

<iInfoState>,

<oViewStyle>

) Æ lSuccess

Arguments

<iInfoState>The state to that the view style is to be set. The following table lists the supported states:

 

State

Description

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.

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.

Data type:Integer

 

<oViewStyle>The view style that is to be set to the state.
Data type:bViewStyle

Return Value

lSuccessA logical value that indicates whether the view style could be set.
TRUEThe view style could be set.
FALSEThe view style could not be set.
Data type:Logic

Description

For each info value can be defined own view styles. When drawing an info value these view styles are mixed with the global view style from the access bBrowser:InfoView whereby the global view style have the lower priority.

 

With the method bBrowser:GetInfoView() can be determined again a before set object of the class bViewStyle.

 

So that the set view style is also shown in the browser it must be redrawn with the method bBrowser:Redraw().

See Also

bBrowser:GetInfoView()

bBrowser:InfoView

bBrowser:SetInfo()

bBrowser:SetInfoHeight()

bViewStyle

 


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