rvico TRichView Reference | TRVStyle | TRVStyleTemplateCollection

TRVStyleTemplateCollection.ResetNameCounter

Top  Previous  Next

Resets the counter used to generate unique names for new Items.

procedure ResetNameCounter;

Names are generated using DefStyleName property. By default, new items receive names: 'Style 1', 'Style 2', ..., with the name counter increased: 1, 2...

This method assigns 1 to the name counter, so the next generated name will include a minimal number providing its uniqueness.


TRichView © trichview.com