bIsEmpty is TRUE IF Edit1->Text is genuinely empty. I highly recommend you study the AnsiString class member methods. You will find a wealth of functions.
To check whether the contents of the Edit box is a number or letter requires creativity.
You can scan each character contained in the Edit box AnsiString. You could also simply attempt to convert the contents of the Edit box into a number:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.