[NUG] How to "scroll" text?

James Wagner wagnejam99 at comcast.net
Wed Mar 13 13:12:09 CDT 2019


This just needs to keep the text rolling until the user clicks a button that tells it to capture the elapsed seconds at that moment and open a TextField for the user to enter a measurement value. It is semi-cosmetic in that the only function is to give the user a sense of the elapsed time. It would be nice if it actually reflects TotalSeconds.

Does not sound like a lot futzing around in the timer event.

Thanks
Jim

> On March 13, 2019 at 10:58 AM Norman Palardy <npalardy at great-white-software.com> wrote:
> 
> 
> 
> > On Mar 13, 2019, at 11:44 AM, James Wagner <wagnejam99 at comcast.net> wrote:
> > 
> > Greetings xojousers -
> > 
> > 
> > 
> > Working on an in-house application that I want to do "right" as it may go outside.
> > 
> > 
> > 
> > At several places in the GUI, I want to have text continually updated as one might see from a "stopwatch", which, in fact, it is. I would like it to still be at least somewhat responsive to button clicks. Is a timer still the preferred way to do this?
> 
> As long as you keep the code run by the timer sort and fast then you should not have any UI glitches
> If it has to do a lot more work then a thread that periodically fires a timer action would work
> You can do a lot more work in the thread code and then to do the update of the UI make the timer ire its action event once and do as little as possible in there to keep things responsive
> 
> 
> -- 
> Nug mailing list
> Nug at xojousers.com
> http://mail.xojousers.com/mailman/listinfo/nug_xojousers.com




More information about the Nug mailing list