Toast Notification's Utility

Ramón San Félix Ramón
CODE AUTHOR
Posts: 31
 1 year 2 weeks ago #503 by Ramón San Félix Ramón
Ramón San Félix Ramón replied the code: Toast Notification's Utility
Hi Sivaprakash BKR,

The problem is that the window that calls the notification closes?

In my case, I have a function in the main window of the application that triggers the notification. Since this window is never closed, if the application is not closed there is no problem. In the closequery event of that window I have a code to remove the notification if it closes, so that there is no error.

Best Regards
Ramón.

Please Log in or Create an account to join the conversation.

Sivaprakash BKR
Posts: 2
 1 year 2 weeks ago #502 by Sivaprakash BKR
Sivaprakash BKR replied the code: Toast Notification's Utility
Hello,
Thanks for the nice utility. I did incorporate that into my application. It's working fine under most circumstances. And I did face one issue on this condition.
1. I have two windows, a. Login window b. Profile creation window
2. From login window, I open the profile creation window, which is a response window.
3. I add one entry and use the notification utility to inform as such. The toast waits for 5 seconds and then goes off.
4. If I wait for that 5 seconds, then close that profile creation window, no issues.
5. If I don't wait for 5 seconds, immediately close the profile creation window, the control is back to login window. When the control is in login window, keeping it idle makes the application to close.
6. This issue is not there, when I wait for that 5 seconds, then close [ Toast Notification will go off ], the profile window.

Any workaround to solve this issue.

Please Log in or Create an account to join the conversation.