In frmDEMO_MESSAGES you can see an example.


rc_ShowSweetAlert can be called passing some parameters such as the message source form and the component that should receive focus after closing the message.


Note: For the above feature to work, there needs to be a "uniSweetAlert" component in your source form/frame with the name "rcSweetAlert".


Other short ways to call rc_SweetAlert:


Ex:

dm_rc.rc_ShowSweetAlertSuccess( 'Processed!!!' );

dm_rc.rc_ShowSweetAlertInfo( 'Processed!!!' );

dm_rc.rc_ShowSweetAlertWarning( 'Processed!!!' );

dm_rc.rc_ShowSweetAlertError( 'Processed!!!' );

Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator