Purpose
The options that define the behavior of the record group item.
Class
Type
Access / Assign
Data Type
DWord
Description
With the options the behavior can be controlled. Several options can be combined. The table below defines the supported options:
Option |
Description |
BRGIO_NONE |
No options are defined. |
BRGIO_OPEN |
If the option is defined and the record group item contains sub record group item then the item is shown as an open record group. |
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 BRGIO_OPEN.
oRecordGroupItem:Options := BRGIO_OPEN
With the following code fragment the option BRGIO_OPEN is set.
oRecordGroupItem:Options := _Or(oRecordGroupItem:Options,;
BRGIO_OPEN)
With the following code fragment it is checked whether the option BRGIO_OPEN is set.
IF _And(oRecordGroupItem:Options, BRGIO_OPEN)>0
:
ENDIF
With the following code fragment the option BRGIO_OPEN is deleted.
IF _And(oRecordGroupItem:Options, BRGIO_OPEN)>0
oRecordGroupItem:Options := _Xor(oRecordGroupItem:Options,;
BRGIO_OPEN)
ENDIF
Page url: http://www.YOURSERVER.com/index.html?brecordgroupitem_options.htm