BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DBRichEdit

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop)
View previous topic :: View next topic  
Author Message
Nerio
Guest





PostPosted: Sun Dec 14, 2003 9:51 pm    Post subject: DBRichEdit Reply with quote



How can I verify if a DBRichEdit (or RichEdit) is empty ?
Thanks
Nerio


Back to top
Jayme Jeffman Filho
Guest





PostPosted: Mon Dec 15, 2003 12:05 pm    Post subject: Re: DBRichEdit Reply with quote



Hello Nerio,

The TDBRichEdit (or RichEdit) has the TCustomMemo::Lines property which is of TString type, and the TStrings has the System::AnsiString Text property.

bool noText = DBRichEdit->Lines->Text.IsEmpty() ;

HTH

Jayme.


"Nerio" <ne_serzanti (AT) tin (DOT) it> wrote

Quote:
How can I verify if a DBRichEdit (or RichEdit) is empty ?
Thanks
Nerio




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.