Purpose
Options which define the characteristics of the record groups.
Class
Type
Access / Assign
Data Type
DWord
Description
With the options the characteristics of the record groups can be influenced. Several options can be combined. The table below defines the supported options:
| Option | Description | 
| BRGLO_NONE | No options are defined. | 
| BRGLO_AUTO | The following default options are used: •BRGLO_GROUPLEASH | 
| BRGLO_AUTOOPEN | Record group items are opened automatically if these contain sub record group items. | 
| BRGLO_AUTOOPENONSKIP | Record group items are opened automatically at record movements if these contain sub record group items. | 
| BRGLO_GROUPLEASH | A vertical line is drawn in the record group column for all matching record group items. | 
| BRGLO_LEVELSEPARATOR | The record groups get separated in the record group column with a horizontal line. | 
| BRGLO_ORDER_DESCENDING | The order in the data server is descending. | 
| BRGLO_SEPARATEGROUPHEADER | The record groups have a virtual group header. | 
| BRGLO_SERVERSEEK | With the method Seek() of the data server can be search the records of the record groups. | 
| BRGLO_VALUE_CASESENSITIVE | The group values and sub group values are case sensitive. | 
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 options BRGLO_AUTOOPEN and BRGLO_GROUPLEASH.
oRecordGroupLevel:Options := _Or(BRGLO_AUTOOPEN,;
BRGLO_GROUPLEASH)
With the following code fragment the option BRGLO_LEVELSEPARATOR is set.
oRecordGroupLevel:Options := _Or(oRecordGroupLevel:Options,;
BRGLO_LEVELSEPARATOR)
With the following code fragment it is checked whether the option BRGLO_LEVELSEPARATOR is set.
IF _And(oRecordGroupLevel:Options, BRGLO_LEVELSEPARATOR)>0
:
ENDIF
With the following code fragment the option BRGLO_LEVELSEPARATOR is deleted.
IF _And(oRecordGroupLevel:Options, BRGLO_LEVELSEPARATOR)>0
oRecordGroupLevel:Options := _Xor(oRecordGroupLevel:Options,;
BRGLO_LEVELSEPARATOR)
ENDIF
Page url: http://www.YOURSERVER.com/index.html?brecordgrouplevel_options.htm