You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

List Column - ColumnStyles Property
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

All Component Classes
Technical Reference

  • No labels