Tree View Column (PRIM_TVCL)
Defines the data class and behavior of a column in a tree view
Ancestors - Object (PRIM_OBJT)
Details
A column defines the data class and appearance of data in a list.
Columns control the sort order, caption, column headings, and many other visual features of the control.
Lists are comprised of one or more columns, each using a diffent repository field as the source.
Example
Setting a column to be the primary sort.
#Column.SortPosition := 1
Properties
Name | Description |
|---|---|
Text to be displayed within the column header | |
Text as displayed in the column caption at runtime | |
CaptionType determines the type of caption | |
Checkboxes controls the display of check boxes in the column | |
ColumnAlign specifies how columns are aligned | |
Image specifies the image used in a component | |
ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT) | |
ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT) | |
ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT) | |
Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT) | |
ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT) | |
ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT) | |
DisplayAppearance controls how the column is displayed | |
DisplayPosition determines the order of columns in the list | |
EditAppearance controls how the column is displayed | |
Editor provides access to the EditorManager component | |
EditorPart is the reusable part used to edit the column | |
Hint is a brief description for component | |
Repository enrolled image to show in the control | |
ImageExpanded indicates the status of an item | |
ImageOverlay superimposes another image on an icon | |
ImageState indicates the status of an item | |
KeyPosition controls how list is sorted | |
Specifies the level of the column data for levelled trees | |
MinimumWidth sets the minimum width of a column | |
Name identifies the component Inherited from Object (PRIM_OBJT) | |
Owner owns this component Inherited from Object (PRIM_OBJT) | |
Reference to the treeview containing the column | |
Reference to a popup menu shown on a right click | |
ReadOnly controls whether the item can be used for input | |
Specifies an alternate column to use to sort the data | |
SortDirection controls how list is sorted | |
Sort the column when the column header is clicked | |
SortPosition determines the place of this column in the sort order | |
SortType controls how a column is sorted. | |
Name of the repository field used to define and store the data for this column | |
Controls whether the values in the picklist are enforced | |
Value at the specified location | |
Show or hide the column | |
VisualStyle sets the appearance | |
Width of the column. See WidthType | |
WidthType controls how the physical width is derived based on the width |
Events
Name | Description |
|---|---|
Fired when the mouse is clicked on the control | |
CreateInstance is signaled when an instance of a component is created [Inherited from Tree View Column (PRIM_TVCL) | |
DestroyInstance is signaled when an instance of a component is about to be destroyed [Inherited from Tree View Column (PRIM_TVCL) | |
Fired when the user double clicks |
Methods
Name | Description |
|---|---|
Set the value of a cell at the specified row Result, Row, Value | |
Set the column width to the widest content |