PRIM_PDF.AutoTableColumn (PRIM_PDF.AutoTableColumn)

PDF generator AutoTable column

Ancestors - Object (PRIM_OBJT)

Details

AutoTableColumn defines the properties of a table column

Example

Creating an setting properties of an AutoTable column
Define_Com Class(#PRIM_PDF.AutoTable) Name(#Table) Reference(*DYNAMIC) Theme(Striped) Columncount(3)
Define_Com Class(#PRIM_PDF.AutoTableColumn) Name(#CellPhoneCol) Reference(*DYNAMIC)
 
* Create and set table column properties
#CellPhoneCol <= #Table.CreateColumn
#CellPhoneCol.HeadCaption := 'Cell Phone'
#CellPhoneCol.HeadHAlign := Center
#CellPhoneCol.HAlign := Center
#Table.AddColumn Column(#CellPhoneCol)

Properties

Name Description
CellWidth This column's cell width
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)
FillColor The background color for this column's body content
FontName The font for this column's body content
FontSize The font size for this column's body content
FontStyle The font style for this column's body content
HAlign The horizontal alignment of text in this column's cells
HeadCaption The column's head caption
HeadFillColor The background color for this column's head
HeadFontName The font for this column's head
HeadFontSize The font size for this column's head
HeadFontStyle The font style for this column's head
HeadHAlign The horizontal alignment of text in this column's head
HeadTextColor Text color for this column's head
HeadVAlign The vertical alignment of text in this column's head
MinCellWidth The column's minimum cell width
Name Name identifies the component Inherited from Object (PRIM_OBJT)
Overflow Action to take when content overflows this column's cell width
Owner Owner owns this component Inherited from Object (PRIM_OBJT)
Parent The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)
TextColor Text color for this column's body content
VAlign The vertical alignment of text in this column's cells

Events

Name Description
CreateInstance CreateInstance is signalled when an instance of a component is created Inherited from PRIM_PDF.AutoTableColumn (PRIM_PDF.AutoTableColumn)
DestroyInstance DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from PRIM_PDF.AutoTableColumn (PRIM_PDF.AutoTableColumn)

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020