trichview.com

trichview.support




Re: What is the exact action of RVS.Textstyles.Delete(I)


Return to index


Author

Message

TW

Posted: 08/04/2002 2:01:43


delete is obsolete, you should use

RVStyle.TextStyles[i].Free instead.

TextStyles is a Tcollection (0-based) and textStyle inherits

from tcollectionItem which means the item-place

will be removed from collection and the item destroyed.




> What is the exact action of RVS.Textstyles.Delete(I)?

> I mean, does it just delete the style from the stylelist, does it shift

all

> the following styles by one... What does it do? Because it's not described

> in the Help.

> My question more particularly asked is :

> if i want to delete the 3rd and the 5th style, what do I use?

> RVS.Textstyles.Delete(3);

> RVS.Textstyles.Delete(5);

> or

> RVS.Textstyles.Delete(3);

> RVS.Textstyles.Delete(4);

> ?

>

> Slavi

>

>





Powered by ABC Amber Outlook Express Converter