Navigation:  Classes > bRecordGroupHeader >

bRecordGroupHeader:Options

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Options that define the behavior of the virtual group header.

Class

bRecordGroupHeader

Type

Access / Assign

Data Type

DWord

Description

With these options, behavior can be controlled. Several options can be combined. The table below defines the supported options:

 

Option

Description

BRGHO_NONE

No options are defined.

BRGHO_AUTO

The following default options are used:

BRGHO_NONE

BRGHO_SCROLLHORIZONTAL

If the data area in the bBrowser is scrolled horizontally, then the value of the group header is either scrolled.

 

Single options can be checked, set and deleted with the bit functions

_And()

_Or()

_Xor()

Samples

With the following code fragment the assign is initialized with the option BRGHO_SCROLLHORIZONTAL.

 

oRecordGroupHeader:Options := BRGHO_SCROLLHORIZONTAL

 

With the following code fragment the option BRGHO_SCROLLHORIZONTAL is set.

 

oRecordGroupHeader:Options := _Or(oRecordGroupHeader:Options,;

                                  BRGHO_SCROLLHORIZONTAL)

 

With the following code fragment it is checked whether the option BRGHO_SCROLLHORIZONTAL is set.

 

IF _And(oRecordGroupHeader:Options, BRGHO_SCROLLHORIZONTAL)>0

 :

ENDIF

 

With the following code fragment the option BRGHO_SCROLLHORIZONTAL is deleted.

 

IF _And(oRecordGroupHeader:Options, BRGHO_SCROLLHORIZONTAL)>0

 oRecordGroupHeader:Options := _Xor(oRecordGroupHeader:Options,;

                                                                 BRGHO_SCROLLHORIZONTAL)

ENDIF

 

 


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