Board index » cppbuilder » DBRichEdit

DBRichEdit


2003-12-15 05:51:52 AM
cppbuilder37
How can I verify if a DBRichEdit (or RichEdit) is empty ?
Thanks
Nerio
 
 

Re:DBRichEdit

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" < XXXX@XXXXX.COM >wrote in message news: XXXX@XXXXX.COM ...
Quote
How can I verify if a DBRichEdit (or RichEdit) is empty ?
Thanks
Nerio