Navigation:  Classes > bBrowser >

bBrowser:RecordGroupItemChangeState()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Change the state of a record group item (e.g. open or closed).

Class

bBrowser

Type

Method

Syntax

<oBrowser>:RecordGroupItemChangeState(

<oRecordGroupItem>,

<iOptions>

) Æ lSuccess

Arguments

<oRecordGroupItem>The record group item whose state is to be changed.
Data Type:bRecordGroupItem

 

<iOptions>The options to be used when changing the state. The following options are supported:

 

Option

Description

BRGICSO_NONE

The state of the record group item is not changed.

BRGICSO_OPEN

The record group item is opened. Through this the sub record group items are shown.

BRGICSO_CLOSE

The record group item is closed. Through this the sub record group items are hidden.

BRGICSO_REDRAW

The bBrowser is redrawn so that the changed state of the record group item gets visible.

 

Data Type:DWord

Return Value

lSuccessA logical value that indicates whether the state of the record group item was changed.
TRUEThe state was changed.
FALSEThe state could not be changed.
Data Type:Logic

Description

bBrowser:RecordGroupItemChangeState() opens or closes a record group item. When opening the sub record  group items get visible. When closing the sub record group items are hidden. So that the changed state of the record group item gets visible it must be redrawn. For this the option BRGICSO_REDRAW can defined in the argument iOptions.

 

Remarks

After opening or closing a record group item the methods bBrowser:RowSelect() and bBrowser:CellSelect() are called.

See Also

bBrowser:CellSelect()

bBrowser:RecordGroupItemClose()

bBrowser:RecordGroupItemOpen()

bBrowser:RowSelect()

bRecordGroupItem

 


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