
Collection of styles to be applied to the column
Member of List Column (PRIM_LIST.Column)
Data Type - Collection ofPRIM_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
LANSA Version 15, April 2020