trichview.com

trichview.support




Re: How to check whether RichView is empty?


Return to index


Author

Message

Dmitry

Posted: 12/03/2002 13:49:57


> 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.


Sincerely yours.

Dmitry





Powered by ABC Amber Outlook Express Converter