List Item - Styles Property

Collection of styles to be applied to the item

Member of List Item (PRIM_MD.ListItem)

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

Details

The Styles property allows for one or more Styles to be applied to the item.
 
Setting the Style property will remove all existing Styles.

Example

Iterating through a the items in the list, highlighting those that contain the search value.
Selectlist Named(#List)
 
   If (#Label.Contains(#Search))
 
      #Com_owner.Styles.Add(#Highlight)
 
   Else
 
      #Com_owner.Styles.Remove(#Highlight)
 
   Endif
 
Endselect

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2