AJAX waiting message properties

In PowerBuilder 11.2, six new global properties allow you to set text and formatting properties for the messages that your applications display to end users while they wait for new content to be rendered in their browsers. The messages display only if you use the default asynchronous AJAX update functionality for your Web Forms applications.

You can set the global properties at design time on the Configuration tab of the Project painter or after deployment in the generated Web.Config file for your application. Support for message text localization is currently limited, but will be enhanced in future releases of PowerBuilder.

The new global properties are listed and described in the following table:

Property

Default value

Description

PBAjaxWaitingMessage

Loading ... ... Please wait...

Status message text displayed to the user during AJAX request processing. To disable the status message set the value to an empty string (“”).

PBAjaxWaitingMessageFontFamily

Tahoma

Font family for the text of the AJAX waiting message.

PBAjaxWaitingMessageFontSize

10

Font size of the text of the AJAX waiting message.

PBAjaxWaitingMessageBoxPosition

Center

Position of the AJAX waiting message box. Valid values are: Center, TopLeft, TopRight, BottomLeft, and BottomRight.

PBAjaxWaitingMessageBoxHeight

Height in pixels of the AJAX waiting message box. If no value is specified (default), PowerBuilder calculates the best fit for the message box text.

PBAjaxWaitingMessageBoxWidth

Width in pixels of the AJAX waiting message box. If no value is specified (default), PowerBuilder calculates the best fit for the message box text.