Control - Styles Property

Collection of styles to be applied to the control

Member of Control (PRIM_CTRL)

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


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


Iterating through a collection of labels, highlighting those that contain the search value.
For each(#Label) in(#Labels)
   If (#Label.Contains(#Search))

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020