Listbox Column (PRIM_LBCL)

Defines the data class and behavior of a column in a listbox

Ancestors - Object (PRIM_OBJT)


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.


Setting a column to be the primary sort.
#Column.SortPosition := 1


Name Description
ComponentClassName ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembers ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternName ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTag Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentType ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeName ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
DisplayPosition DisplayPosition determines the order of columns in the list
Name Name identifies the component Inherited from Object (PRIM_OBJT)
Owner Owner owns this component Inherited from Object (PRIM_OBJT)
Parent Reference to the listbox containing the column
SortDirection SortDirection controls how list is sorted
SortPosition SortPosition determines the place of this column in the sort order
SortType SortType controls how a column is sorted.
Source Name of the repository field used to define and store the data for this column
UsePicklist Controls whether the values in the picklist are enforced
ValueAt Value at the specified location
Visible Show or hide the column
Width Width of the column. See WidthType
WidthType WidthType controls how the physical width is derived based on the width


Name Description
CreateInstance CreateInstance is signalled when an instance of a component is created Inherited from Listbox Column (PRIM_LBCL)
DestroyInstance DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Listbox Column (PRIM_LBCL)


Name Description
SetValueAt Set the value of a cell at the specified row
Result, Row, Value

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020