Platform SDK: CDO 1.2.1 |
The Flags property returns or sets the flags specifying certain display attributes of this Column object. Read/write.
objColumn.Flags
Long
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.
Columns predefined in common, folder, and personal views have 12106 = &H2F4A in the Flags property. This default setting includes the CdoColumnBitmap flag together with several obsolete flags that are ignored by the current version of CDO. If you change this value by setting Flags, it is immaterial whether or not you preserve the obsolete flags from the default value
If you are rendering a calendar view, the value of the Flags property is ignored. The CalendarView object makes its own alignment calculations.