rvico TRichView Reference | TRVStyle | TFontInfos


Top  Previous  Next

Provides indexed access to the items in the collection of text attributes (styles)

property Items[Index:Integer]: TFontInfo;

This is the default property of TFontInfos, so you can write


instead of


Many methods of components inherited from TCustomRichView have StyleNo parameter, which is an index in TFontInfos.Items collection (more specifically, in TCustomRichView.Style.TextStyles.Items).



Unlike normal collections, when accessing item with invalid Index (for example, Index<0 or Index>=Count), no exception occurs. InvalidItem is returned instead.

TRichView © trichview.com