trichview.com

trichview.support




Re: How to check whether RichView is empty?


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/03/2002 18:48:14


> > Empty := (rv.ItemCount=0) or  ((rv.ItemCount=1) and

(rv.GetItemStyle(0)=0)

> and (rv.GetItemText(0)=''));

>

> in your example rv.GetItemText(0) IMHO also can throw exception.


No, because it will be executed only if (rv.ItemCount=1)





Powered by ABC Amber Outlook Express Converter