Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PosNameTypeDescriptionDefault
<0, 1>TitleTextThe column's title textRequired
<0, 2>TypeOptionThe column's expected data typeRequired
<0, 3>WidthIntegerThe column's initial widthRequired
<0, 4>AutosizedBooleanIs column autosizable flagTrue
<0, 5>ResizableBooleanIs column resizable flagsame as Autosized
<0, 6>ImageIntegerThe column's image0
<0, 7>SortableBooleanCan column be sorted flagTrue
<0, 8>VisibleBooleanIs column visible flagTrue
<0, 9>MinWidthIntegerThe column's minimum allowed width0
<0, 10>AlignmentOptionThe column's data alignmentLeft
<0, 11>Tool TipTextThe text to appear when the user hovers the cursor above the column's header""
<0, 12>FormatTextThe output format for the column's data""
<0, 13>Check BoxBooleanDetermines if the column has check boxesFalse
<0, 14>FontFontThe column's fontTahoma, 8 pt.
<0, 15>Data SourceOptionDetermines how to interpret column's items' valuesText
<0, 16>Check Box AlignmentOptionThe column's check box alignmentLeft
<0, 17>HyperlinkBooleanDetermines if the column's items are hyperlinksFalse

...

Set this value to 1 to add check boxes to the left side of each item in the column. See the ColumnCheckBox property for details. Omitting this value means no check boxes will appear in this column.

...

Setting this value sets the font for both the header and the data within the column to the same font. If you want to set the header independently of the data, use the ColumnHeaderFont and ColumnFont properties.

Data Source (optional)

Use this value to determine how the items' values are determined. Omitting this value uses the Text option, which means the item's value is simply its text. However, you can also specify CheckBox or Both. See the ColumnDataSource property for details.

Check Box Alignment (optional)

The column's check box alignment establishes where the check box is placed within the items. See the ColumnCheckBoxAlignment property for more information. Here are the values you can use:

...

The Hyperlink option can be used to turn all items in the column into hyperlinks. All you have to do is set this value to 1. If you wish to enable individual items as hyperlinks, you may use the ItemHyperlink property. Once an item is enabled as a hyperlink, the OnItemHyperlink event will fire when the user clicks on the item's text.

...

Code Block
ColumnList = "" 

// Fix the width of column 1 
ColumnList<-1> = "ID":@VM:"Number":@VM:"50":@VM:0:@VM:0 

// Let the remaining columns use default values 
ColumnList<-1> = "First Name":@VM:"Text":@VM:"200" 
ColumnList<-1> = "Middle Name":@VM:"Text":@VM:"200" 
ColumnList<-1> = "Last Name":@VM:"Text":@VM:"200" 

// Now set up the columns 
Set_Property(@Window:".OLE_REPORTTABLE", "OLE.ColumnList", ColumnList)

See Also

ImageList