KingOrmon Posted June 24, 2025 Posted June 24, 2025 Hi, how can I set position to center screen for UniToast like showmessage ¿? Regards Quote
KingOrmon Posted June 26, 2025 Author Posted June 26, 2025 Hi Sherzod I need to force screen center, any idea ? Regards Quote
Sherzod Posted June 26, 2025 Posted June 26, 2025 9 minutes ago, KingOrmon said: I need to force screen center, any idea ? On 6/24/2025 at 3:20 PM, Sherzod said: align: "t" ? Quote
KingOrmon Posted June 26, 2025 Author Posted June 26, 2025 Hi i am looking for a like showmessage position of toast ”t” is only top of screen I want torce always the position, even of there is more than 1 toast Quote
Sherzod Posted June 26, 2025 Posted June 26, 2025 17 minutes ago, KingOrmon said: ”t” is only top of screen Quote
KingOrmon Posted June 26, 2025 Author Posted June 26, 2025 BTW, how can I close the currentent toast if displayed before launch a new toast message ? Quote
Sherzod Posted June 26, 2025 Posted June 26, 2025 1 hour ago, KingOrmon said: how can I close the currentent toast if displayed before launch a new toast message ? //JS Ext.ComponentQuery.query('toast').forEach(function(t) { if (!t.destroyed) t.close(); }); Quote
KingOrmon Posted June 26, 2025 Author Posted June 26, 2025 Based in this thread code I used it with success: UniSession.AddJS('if (window._msgZJT) window._msgZJT.destroy();'); Thank you Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.