trichview.com

trichview.support




How can i check the last line text?


Return to index


Author

Message

Marcos Lommez

Posted: 10/02/2003 21:17:29


I wanna know if the last line is empty...


with this code works fine

if RichViewEdit1.GetItemText(RichViewEdit1.LineCount -1) = '' then


but if i have a picture on the last line, this code also returns a empty

string. Is there another option to check if the last line is completely

empty? and if is empty, how can i delete it?


thanks





Powered by ABC Amber Outlook Express Converter