Input and Message Dialogs in Delphi
Delphi Provides many procedures and function to show a message or to get some data from users by input box. ShowMessage ShowMessage procedure displays a string of Text in a simple dialog with an OK button. It is used to inform the user of some information - no decision is needed by the user. Insert carriage return and line feed characters (#13#10) into the string to generate multi line message display. begin // Show a simple message ShowMessage('Hello World'); // Show a blank message ShowMessage(''); // Split this into two lines ShowMessage('Hello '+#13#10+'World'); end; ShowMessageFmt The ShowMessageFmt procedure provides 'C' like formatting of multiple of simple data types into a string that is displayed in a single. It provides very precise control over this formatting. The Formatting parameter defines how the Data array is manipulated into the displayed string. The dialog has an OK button...