trichview.com

trichview.support.examples




Re: How to check whether RichView is empty?


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/02/2002 17:22:09


For TRichView:


Empty := rv.ItemCount=0;


For TRichViewEdit:


Empty := (rv.ItemCount=0) or

  ((rv.ItemCount=1) and (rv.GetItemStyle(0)=0) and (rv.GetItemText(0)=0));


PS: Please post all question in trichview.support group.




> How to check whether RichView is empty?

>

>

>







Powered by ABC Amber Outlook Express Converter