The ShowMessage procedure shows a simple modal message dialog. The Msg parameter indicates the message to show. The DlgCaption parameter is optional and indicates the caption of the dialog. The AnimationStyle and AnimationDuration parameters are optional, and indicate the type/duration of animation to use when showing the message dialog.
Examples
ShowMessage('An error has occurred !','Error');
ShowMessage('Hello world !','Hi !',asQuadEaseOut,500);