The 'pauseOrNot' code I originally wrote is not always as reliable as I had hoped.
Just an FYI, it sometimes leaves a (paused) addition to the app.name (not in red)
Never really did get to the bottom of why it sometimes does that as I do it differently now.
Thanks. The issue is that I don't know how to implement some html code within the object "button" so to trigger the btn event. I can create any button in html, of course, but how do I fuse this with HE's groovy "button" type so to trigger, for example, the pause action?
I think I directly used your pause code (as credited in the app, but I probably could have been more explicit on which parts of the code are attributed to whom - instead of a general credit). I also noticed that in some scenarios I could get a leftover (paused). Didn't happen often, so I didn't bother to try and fix it.
That was actually the 1st groovy app I wrote in HE. As always, your and Brian's utility/layout examples were monumentally helpful.
On second thought, there has to be a way within groovy directly to place the button since it is done in RM: Update button, for example, is always to the right end of the page, while "run actions" is to the left...
Thank you. I have read this entire thread already. The issue is not that I don't know how to code the button nor its corresponding evt handler. The issue is that I don't know how to format, position and maybe even resize the button just like I would do in HTML or CSS. I know it's possible since RM does it.
Maybe @bravenel or @mike.maxwell can come save me again from the daemons of my ignorance?
ooooh! That thing I didn't even dare to try for I would again be accused of barbaric coding! Just kidding. True, though, that I thought of playing with spaces " " using paragraph... But since I read saw that html was somewhat accepted, I was stubbornly betting on an html solution!