List Column - ColumnStyles Property

Collection of styles to be applied to the column

Member of List Column (PRIM_LIST.Column)

Data Type - Collection of PRIM_VS.Style - Style used to define foreground and background appearance

Details

The ColumnStyles property allows for one or more Styles to be applied to the column header.
 
Styles allows for more complex programmatic appearance changes to be coded. Rather than relying on the declarative single ColumnStyle property, the developer is free to add as many Style layers as required.
 
Setting the Style property will remove all existing ColumnStyles.

Example

In this example, the column that is clicked it given an additional style.
Evtroutine Handling(#Columns<>.Click) Com_Sender(#Sender)
 
   #Columns<>.ColumnStyles.RemoveAll
   #Sender.ColumnStyles.Add(#HighlightStyle)
 
Endroutine

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2