Navigation: Ultimate Suite for PowerBuilder Help > PowerToast > Functions >

of_toast

Send comments on this topic.

 

Description:

Pops up a toast notifcation.

Syntax:

of_toast (string as_title, string as_message)
of_toast (string as_title, string as_message, string as_image)
of_toast (string as_title, string as_message, blob ab_image)
of_toast (string as_title, string as_message, integer ai_animation)
of_toast (string as_title, string as_message, string as_image, integer ai_animation)
of_toast (string as_title, string as_message, blob ab_image, integer ai_animation)

Argument

Description

as_title

The title of the toast message.

as_message

The message displayed in the toast

as_image (optional)

The image to display next to the message. Use a 48x48 pixel image for best results.

ab_image (optional)

The image, stored as a blob, to display next to the message. Use a 48x48 pixel image for best results.

ai_animation (optional)

The animation used to display the toast. Default is no animation: Use one of the following constants FADE_ANIMATION, SLIDELEFT_ANIMATION, SLIDEUP_ANIMATION

Return Value:

Returns a unique id for the toast message.

Usage:


Copyright © 2021 Werysoft Inc.