Purpose
Sets for an info value the view style.
Class
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_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 |
<oViewStyle> | The view style that is to be set to the state. |
Data Type: | bViewStyle |
Return Value
lSuccess | A logical value that indicates whether the view style could be set. |
TRUE | The view style could be set. |
FALSE | The 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
Page url: http://www.YOURSERVER.com/index.html?bbrowser_setinfoview.htm