The ShowMessage() function provides the most fundamental
message box of Borland’s applications. This function takes one string argument and does not return any value. It is used to display a message to the user who acknowledges it by clicking the OK button. The syntax of the
ShowMessage() function is
void __fastcall ShowMessage(const AnsiString Message);
A message box created with the ShowMessage() function uses the name of the project as its caption. The message to display is a string that can be provided by the developer. Here is an example:
|