Purpose
Flags for the different attributes of a column.
Class
Type
Access / Assign
Data Type
DWord
Description
These flags define various attributes of a column. The table below defines supported flags:
| Flag | Description | Access | 
| BDCF_CAPTIONPRESSED | The column caption is pressed. | |
| BDCF_CAPTIONVISIBLE | The column caption is shown. | |
| BDCF_CAPTUREDINGROUP | If the column is added to a group column, then the column can be moved only within the group column. If the flag is not defined, then the column can be moved also from the group column. | |
| BDCF_FOOTERPRESSED | The column footer is pressed. | |
| BDCF_FOOTERVISIBLE | The column footer is shown. | |
| BDCF_EDITABLE | Column values can be edited. 
 Note: The flag is supported in the class bDataColumn and classes inherited from it. | |
| BDCF_MOVABLE | The column can be moved with the mouse. | |
| BDCF_RESIZABLE | The column width can be changed with the mouse. | |
| BDCF_SELECTABLE | The column can be selected. 
 Note: The flag is supported in the class bDataColumn and classes inherited from it. | 
Several flags can be combined.
Single flags can be checked, set and deleted with the bit functions
•_And()
•_Or()
•_Xor()
Samples
With the following code fragment the assign is initialized with several flags.
oColumn:Flags := _Or(BDCF_CAPTIONVISIBLE,;
BDCF_FOOTERVISIBLE,;
BDCF_MOVABLE,;
BDCF_RESIZABLE)
With the following code fragment the flag is set to BDCF_CAPTUREDINGROUP.
oColumn:Flags := _Or(oColumn:Flags ,;
BDCF_CAPTUREDINGROUP)
With the following code fragment it is checked whether the flag BDCF_CAPTUREDINGROUP is set.
IF _And(oColumn:Flags, BDCF_CAPTUREDINGROUP)>0
:
ENDIF
With the following code fragment the flag BDCF_CAPTUREDINGROUP is deleted.
IF _And(oColumn:Flags, BDCF_CAPTUREDINGROUP)>0
oColumn:Flags := _Xor(oColumn:Flags,;
BDCF_CAPTUREDINGROUP)
ENDIF
Page url: http://www.YOURSERVER.com/index.html?bbrowsercolumn_flags.htm