ShowMessage

Top  Previous  Next

Prototype

 

ShowMessage(strMessage)

 

Description

 

It shows a dialog window with a text message and the "Ok" button.

 

Parameters

 

StrMessage: string that contains the message to be shown into the window.

 

Returned value

 

None.

 

Notes

 

The following syntax is used to view a variable in a  message: ShowMessage(strMessage "+" variable).

Variable is string type (use the functions IntToStr, FloatToStr, …, for the conversion).

 

Example

 

// It opens an image

image:=ImgOpen('c:\images\1.tif',0);

 

// It shows the image

imgShow(image);

 

//It shows a message 

ShowMessage('Shown !');

 

//It executes other operations

 

//It deletes the image from memory 

imgDelete(image);