LOTUSSCRIPT/COM/OLE CLASSES


Accessing view or folder columns
Example

You can access view or folder columns through the Columns property of NotesView, which returns a NotesViewColumn object. You can create a column with CopyColumn and CreateColumn. You can remove a column with RemoveColumn.

This object gives you access to the following properties:

PropertyData typeDescription
Alignment Constant(Read-write) The alignment of data in a column
DateFmt Constant(Read-write) The specific format of a date in a column
FontColor Constant(Read-write) The font color of data in column
FontFace String(Read-write) The font face of data in a column
FontPointSize Integer(Read-write) The font point size of data in a column
FontStyle Constant(Read-write) The font style of data in a column
FormulaString(Read-write) The column formula if one exists
HeaderAlignment Constant(Read-write) The alignment (justification) of the header in a column
HeaderFontColorConstant(Read-write) The font color of the header in column
HeaderFontFaceConstant(Read-write) The font face of the header in a column
HeaderFontPointSizeConstant(Read-write) The font point size of the header in a column
HeaderFontStyleConstant(Read-write) The font style of the header in a column
IsAccentInsensitiveSort Boolean(Read-write) True if the column is sorted without regard to accent
IsCaseInsensitiveSort Boolean(Read-write) True if the column is sorted without regard to case
IsCategoryBoolean(Read-only) True if the column is categorized
IsField Boolean(Read-only) True if the column is based on field values
IsFontBoldBoolean(Read-write) True if the font style includes bold
IsFontItalicBoolean(Read-write) True if the font style includes italic
IsFontStrikethroughBoolean(Read-write) True if the font style includes strikethrough
IsFontUnderlineBoolean(Read-write) True if the font style includes underline
IsFormulaBoolean(Read-only) True if the column is based on a formula
IsHeaderFontBoldBoolean(Read-write) True if the header font style includes bold
IsHeaderFontItalicBoolean(Read-write) True if the header font style includes italic
IsHeaderFontStrikethroughBoolean(Read-write) True if the header font style includes strikethrough
IsHeaderFontUnderlineBoolean(Read-write) True if the header font style includes underline
IsHiddenBoolean(Read-write) True if the column is hidden
IsHideDetail Boolean(Read-write) True if the column details for totals are hidden
IsIcon Boolean(Read-only) True if the column values are displayed as icons
IsNumberAttribParensBooleanRead-write) True if the number attributes include parentheses for negative numbers
IsNumberAttribPercentBooleanRead-write) True if the number attributes include displaying the number as a percent
IsNumberAttribPunctuatedBooleanRead-write) True if the number attributes include punctuating the number at thousands
IsResize Boolean(Read-write) True if the column is resizable
IsResortAscending Boolean(Read-write) True if the column can be resorted in ascending order
IsResortDescending Boolean(Read-write) True if the column can be resorted in descending order
IsResortToView Boolean(Read-write) True if the column is a user-sorted column that allows the user to change to another view
IsResponseBoolean(Read-only) True if the column contains only response documents
IsSecondaryResort Boolean(Read-write) True if the column is a secondary column
IsSecondaryResortDescending Boolean(Read-write) True if the secondary column is descending
IsShowTwistie Boolean(Read-write) True if the expandable column displays a twistie
IsSortDescending Boolean(Read-write) True if the sorted column is descending
IsSortedBoolean(Read-write) True if the column is sorted
ItemNameString(Read-only) Name of the item for which the value, if any, is in the column
ListSep Constant(Read-write) List (muli-value) separator for values in a column
NumberAttrib Constant(Read-write) Attributes for numeric values in a column
NumberDigits Integer(Read-write) Number of decimal places for numeric values in a column
NumberFormat Constant(Read-write) Format for numeric values in a column
Parent NotesView(Read-only) The view that contains a column
PositionInteger(Read-only) Position of the column in the view, starting at 1
ResortToViewName String(Read-write) The name of the target view for a user-sorted column that allows the user to change to another view
SecondaryResortColumnIndex Index(Read-write) The index of the secondary sorting column of a user-sorted column that allows a secondary sorting column
TimeDateFmt Constant(Read-write) The format of time-date data in a column
TimeFmt Constant(Read-write) The format of time data in a column
TimeZoneFmt Constant(Read-write) The format of the zone in time-data in a column
TitleString(Read-write) Title of the column
Width Integer(Read-write) The width of a column

Example
See Also