NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on November 30, 2023, 03:52:55 AM

Title: Windows Popup Message
Post by: rupertvz on November 30, 2023, 03:52:55 AM
Hi Guys,

Not sure if this is the correct place to ask, but perhaps someone could make a suggestion,

I am looking for a Windows Popup Message template.

For example, when transactions are pending approval in the application database, it should prompt the user and give a popup message accordingly.


Title: Re: Windows Popup Message
Post by: Alberto on November 30, 2023, 05:44:33 AM
Hi rupertvz, you can use any of these:

p_web.Script('window.alert("Your message")')
p_web.popup('message', , 1, 'caption' )
p_web.Message()

Regards

Title: Re: Windows Popup Message
Post by: rupertvz on December 01, 2023, 12:44:08 AM
Thank you Alberto,

But the client needs to be in the web app to receive the message?

Sorry, I left out to say, the popup should happen in the their browser, even if they are on another website,
Or in Windows, perhaps from the tray?
Title: Re: Windows Popup Message
Post by: ntnewbies on December 01, 2023, 01:09:35 AM
Hi Rupert,
In addition to what Alberto suggested, i hv also used this to popup a message at the browser:

 p_web.Script('ntAlert("Payment Received.","Kaching!");')

regards,
Jason
c11
nt12.62
Title: Re: Windows Popup Message
Post by: Niels Larsen on December 01, 2023, 01:28:54 AM
Take a look at Notifikation here: https://www.capesoft.com/docs/NetTalk12/NetTalkWebBasic.htm