trichview.support
Re: How I can check, whether something is inserted in the RichViewEditor? |
Author |
Message |
Sergey Tkachenko |
Posted: 09/23/2003 21:17:20 Checking if empty: IsEmpty: = (rve.ItemCount = 0) or ((rve.ItemCount = 1) and (rve.GetItemStyle(0) >= 0) and (rve.GetItemText(0) = '')) Checking if there is something but the text: IsNonText := False; for i := 0 to rve.ItemCount-1 do if rve.GetItemStyle(i)<0 then begin IsNonText := True; break; end; > > How I can check, whether something apart from text is inserted in the RichViewEditor > (table, hyperlink etc..), thus the RichViewEditor is not empty? > > Thanks > |
Powered by ABC Amber Outlook Express Converter