Re: Is there Digital Clock Component out there?

2017-06-30 Thread hh via use-livecode
@ Ali. > Ali wrote: >> hh wrote: >> In Oct 2016 I made a digital widget clock, published in >> the forum > LC Builder > Community widgets: >> http://forums.livecode.com/viewtopic.php?p=146968#p146968 >> [And there: "Doesn't work in the HTML5 standalone builder."] > It should now work in HTML5 too

Re: Is there Digital Clock Component out there?

2017-06-30 Thread Ali Lloyd via use-livecode
I will try to take a look and hopefully squeeze something in to my next LiveCode Global session! On Fri, Jun 30, 2017 at 5:12 PM Lagi Pittas via use-livecode < use-livecode@lists.runrev.com> wrote: > HI Ali > > Thanks for popping in with a vary practical and edifying lesson in the > power of the

Re: Is there Digital Clock Component out there?

2017-06-30 Thread Ali Lloyd via use-livecode
It should now work in HTML5 too :-D On Fri, Jun 30, 2017 at 9:31 PM hh via use-livecode < use-livecode@lists.runrev.com> wrote: > In Oct 2016 I made a digital widget clock, published in > the forum > LC Builder > Community widgets: > http://forums.livecode.com/viewtopic.php?p=146968#p146968 > > S

Re: Is there Digital Clock Component out there?

2017-06-30 Thread hh via use-livecode
In Oct 2016 I made a digital widget clock, published in the forum > LC Builder > Community widgets: http://forums.livecode.com/viewtopic.php?p=146968#p146968 Simply use the lcb file to recompile it with the LC version you wish to use. Currently the binary lce files from LC 8 are not usable in LC 9

Re: Is there Digital Clock Component out there?

2017-06-30 Thread Lagi Pittas via use-livecode
HI Ali Thanks for popping in with a vary practical and edifying lesson in the power of the widget program/display mechanics. Basically OO MVC for widgets with - in this case at least - very low coupling. Maybe you or somebody on the list with greater Livecode powers than me (not difficult) coul

Re: Is there Digital Clock Component out there?

2017-06-30 Thread Ali Lloyd via use-livecode
Alternatively, take the clock widget and replace the OnPaint handler with public handler OnPaint() variable tTime as List variable tComponent as Integer repeat with tComponent from 1 up to 3 push mCurrentTime[tComponent] formatted as string onto tTime end repeat variable tTimeString as String comb

Re: Is there Digital Clock Component out there?

2017-06-30 Thread panagiotis merakos via use-livecode
Neat and simple. That's why we love LiveCode :) Panos -- On Fri, Jun 30, 2017 at 3:47 PM, hh via use-livecode < use-livecode@lists.runrev.com> wrote: > To have it in sync with the system clock: > > send "updateClock" to me in (1000 - the millisecs mod 1000) millisecs > >

Re: Is there Digital Clock Component out there?

2017-06-30 Thread hh via use-livecode
To have it in sync with the system clock: send "updateClock" to me in (1000 - the millisecs mod 1000) millisecs ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription pre

Re: Is there Digital Clock Component out there?

2017-06-30 Thread Glen Bojsza via use-livecode
I was maybe over thinking it since I was looking at a series of repeat loops and implementing mouseclicks for stopping and starting. Your solution is perfect since it is great for a time card solution and with a little mod I can make it into a stop watch solution. Thanks Mike. On Fri, Jun 30, 20

Re: Is there Digital Clock Component out there?

2017-06-30 Thread Mike Kerner via use-livecode
well, on openCard updateClock end openCard on updateClock if the tool is "browse tool" then put the long time into field "clock" send "updateClock" to me in 1 second end updateClock On Fri, Jun 30, 2017 at 9:53 AM, Glen Bojsza via use-livecode < use-livecode@lists.runrev.com> wrote:

Re: Is there Digital Clock Component out there?

2017-06-30 Thread Glen Bojsza via use-livecode
Time crunch...no pun intended! On Fri, Jun 30, 2017 at 9:39 AM, Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > Why not just use a field and write one? > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please vis

Re: Is there Digital Clock Component out there?

2017-06-30 Thread Mike Kerner via use-livecode
That's what I did with the Timeclock app that I wrote (I'm replacing shop floor timeclocks with ipads). On Fri, Jun 30, 2017 at 9:39 AM, Mike Kerner wrote: > Why not just use a field and write one? > -- On the first day, God created the heavens and the Earth On the second day, God created th

Re: Is there Digital Clock Component out there?

2017-06-30 Thread Mike Kerner via use-livecode
Why not just use a field and write one? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Is there Digital Clock Component out there?

2017-06-30 Thread Glen Bojsza via use-livecode
Hello, I have found several Analog Clocks but with the component architecture I thought this would be readily available ... maybe I am missing something. regards, Glen ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to