Modernisez vos Applications PowerBuilder

PowerToast - Notifications Toast

Affichez des toast notifications sur le bureau pour informer les utilisateurs d'un évenement qui requiert leur attention.

Choisissez parmi 4 styles d'animation : Fondu, glisser à gauche, glisser vers le haut, et aucun.

Ultimate Suite for PowerBuilder - Toast Notifications Control

PowerToast offre la possibilité d'afficher des notifications avec des titres, un texte de message et une image :

New PowerToast Alerts Control by Ultimate Suite for PowerBuilder Applications

Implementation

Regular Toast Message:

n_cst_powertoast lnv_toast

lnv_toast.of_Register(w_main2)
lnv_toast.of_SetToastDuration(3)
lnv_toast.of_RegisterCallback(lnv_toast.CLICK_CALLBACK, PARENT, "ue_toastclicked")
lnv_toast.of_Toast(sle_title.Text, sle_message.Text, sle_image.Text, lnv_toast.SLIDEUP_ANIMATION)
  

For Alerts:

n_cst_powertoast lnv_toast

lnv_toast.of_SetParentWindow(w_main2)
lnv_toast.of_SetToastDuration(5)
lnv_toast.of_Alert("success.png", "Success Alert", "Green", lnv_toast.FADE_ANIMATION)
  

Old Version - Toast Message:

n_cst_powertoast lnv_toast

lnv_toast.of_SetParentWindow(w_main2)
lnv_toast.of_SetToastDuration(3)
lnv_toast.of_RegisterCallback(lnv_toast.CLICK_CALLBACK, PARENT, "ue_toastclicked")
lnv_toast.of_Toast(sle_title.Text, sle_message.Text, sle_image.Text, lnv_toast.SLIDEUP_ANIMATION)