Flags Property (Column Object)

The Flags property returns or sets the flags specifying certain display attributes of this Column object. Read/write.

Syntax

objColumn.Flags

Data Type

Long

Remarks

The Flags property contains the following bits, which can be set in any combination:

Attribute
flag
Decimal
value

Meaning
CdoColumnBitmap 8 The property rendered in this column is displayed using a bitmap.
CdoColumn
NotSortable
32 The display cannot be sorted on the property rendered in this column.

If the CdoColumnBitmap flag is set, the column width in the Width property is expressed in pixels instead of characters. If you use a bitmap, be sure you set Width large enough to render the .GIF image, or you may get unexpected results.

If you are rendering a calendar view, the value of the Flags property is ignored. The CalendarView object makes its own alignment calculations.