Hello Ryan,
Yes; you can take a look at the MessageBox sample and the MessageBox action. Basically the "callback" that we can optionally set receive one argument, which is the button index pressed by the user.
Posts by DecSoft Hello Ryan,
Yes; you can take a look at the MessageBox sample and the MessageBox action. Basically the "callback" that we can optionally set receive one argument, which is the button index pressed by the user.
Hello Jan,
It's possible to provide me the HTML app to try it here? Or maybe the compiled executable? You can send it to me using my E-Mail address (I supose you know it, if not, please, tell me and I will inform to you). I can't reproduce the problem here using Windows 10 64 bits too. Are you try with the samples? The problem is reproducible? Or only occur in some specific executable?
Hello Jan,
I think it's an issue of Internet Explorer 11. HTML Compiler is based in Internet Explorer 11, so, we can't write code that are not supported by this browser.
Hello Jan,
Maybe because the code that you are trying can't work in Internet Explorer 11, in which DecSoft HTML compiler is based? I bet for that... there are some specific limitations (mainly in the video and audio tags) in the program, but, not related with the possible Javascript that we use: except that that Javascript must work in Internet Explorer 11.
Hello Ryan,
Talking about Javascript, you can directly assign the new array variable into the other without problems.
Hello Ryan,
If I am understand well, what you asked is if the NewArray action is required. If so, in principle, it's not required, that is, you can create the Array variable just by assigning the "result" variable into "window.App.RootScope.dailyCrews", just like you do now.
However, certainly in some situations we need to declare a variable before can use it, for example, inside app functions. So maybe it's not a bad idea to use the "NewArray" action in the app Ready event, or the app view Show event.
Hello Peter,
We cross our messages. :-) Yes; you found another possible way to do it, so finally we show here three possible ways. :-)
Hello Peter,
Yes; of course, it's possible. Take a look at the below sample that uses a bit of Javascript code to handle our "row button" click event: