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

Compare with Current View Page History

« Previous Version 2 Current »

Grid Item - Styles Property

Collection of styles to be applied to the item

Member of Grid Item (PRIM_GDIT)

Data Type - Collection ofPRIM_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 the items in the list, highlighting those that contain the search value.

Selectlist Named(#List)
Continue
   If (#Label.Contains(#Search))
      #Com_owner.Styles.Add(#Highlight)
 
   Else
      #Com_owner.Styles.Remove(#Highlight)
 
   Endif
Endfor

See also

All Component Classes
Technical Reference

  • No labels