rvico TRichView Reference | TRVStyle | TRVStyleTemplateCollection

TRVStyleTemplateCollection.ForbiddenIds (read-only)

Top  Previous  Next

Returns a list of identifiers that cannot be assigned to new items.

property ForbiddenIds: TRVIntegerList;

This property is useful to implement editing styles (in a user interface) before calling TRichViewEdit.ChangeStyleTemplates. When the user deletes a style template, add its Id to this list. Otherwise, if a new style template accidentally receives the same Id as a deleted style template, text and paragraphs linked to the deleted style template will be linked to the new style template.

TRichView © trichview.com