PA_Alert

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_Alert (message)

ParameterTypeDescription
messagechar*Message to display in the alert dialog box

Description

The routine PA_Alert displays an alert dialog box composed of a note icon, a message, and an OK button.

Pass the message to be displayed in message (Pascal or C strings up to 255 characters).

This is just like the ALERT command, but you cannot customize the title of the OK button. See the 4th Dimension Language reference for more information on this dialog box.

Example

Sample alert under MacOS (using Pascal strings):

   PA_Alert("\pHello world.");

Sample alert under Windows (using C strings):

   PA_Alert("Hello world.");

See Also

ALERT, ALERT, PA_Confirm, PA_Request.

Error Handling

PA_GetLastError always returns eER_NoErr


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next