Window.alert

Can oxygene issue a window.alert(“msg to browser user”) directly or must the window.alert be done in JavaScript which oxygene calls as needed?

You have access to all the DOM objects via the Browser class. GetWindowObject should let you get the window, which will be a dynamic type, so you can call any method on it.

Thanks. Sorry if I’m loading up on ya with too many queries. I’ve done a whole lot of work on project & nearing the end when various details are coming into play. The js.window.alert is easy enough to call from WASM but your reply is a helpful addition to my knowledge. I’m getting betta & betta w/ WASM.

1 Like

no worries — thats what we’re here for :wink:

:facepunch:t3: