Re: How to enter a time of day

2010-02-24 Thread Andre Garzia
1 AM, BNig wrote: > > you might want to look at the "timesetting" stack in a slightly modified > version as a revlet: > http://berndniggemann.on-rev.com/timesettings/ > regards > Bernd > -- > View this message in context: > http://n4.nabble.com/How-to-enter-a-tim

Re: How to enter a time of day

2010-02-24 Thread BNig
you might want to look at the "timesetting" stack in a slightly modified version as a revlet: http://berndniggemann.on-rev.com/timesettings/ regards Bernd -- View this message in context: http://n4.nabble.com/How-to-enter-a-time-of-day-tp1562955p1567339.html Sent from the Revolut

Re: How to enter a time of day

2010-02-23 Thread BNig
to the message box, block it or take it out. regards Bernd -- View this message in context: http://n4.nabble.com/How-to-enter-a-time-of-day-tp1562955p1566818.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolutio

Re: How to enter a time of day

2010-02-23 Thread BNig
unc(tMin/60) + 6 into tHour if tHour >= 12 then put "PM" into ampm if tHour >= 13 then add -12 to tHour put toUpper(tOtherName) & ":" && tHour & ":" & format("%02s",tMin mod 60) && ampm into fld (tOtherNa

Re: How to enter a time of day

2010-02-22 Thread Marty Knapp
Very cool Scott! Marty Knapp Recently, Peter Haworth wrote: I have a need for users to enter a start and end time of an event and I'm trying to come up with a graphical way for them to do that to ensure that the time is in the correct format. What appeals to me the most is to use some sor

Re: How to enter a time of day

2010-02-22 Thread Francis Nugent Dixon
Hi from Beautiful Brittany, Scott Rossi wrote : I posted an example online that shows both time entry options (don't ask me to explain the math). Execute the following in your Rev message box: go url "http://www.tactilemedia.com/download/timesettings.rev"; Nice !! That's what I love about

Re: How to enter a time of day

2010-02-22 Thread Scott Rossi
Recently, stephen barncard wrote: > This is absolutely brilliant. What a gift. I'm speaking of both your gift, > and the gift to us. Thanks -- hope the stack is useful for folks. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___

Re: How to enter a time of day

2010-02-21 Thread stephen barncard
This is absolutely brilliant. What a gift. I'm speaking of both your gift, and the gift to us. Thanks - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 21 February 2010 17:49, Scott Rossi wrote: > Recently, Peter Haworth wrote: > > > I have a need

Re: How to enter a time of day

2010-02-21 Thread Scott Rossi
Recently, Peter Haworth wrote: > I have a need for users to enter a start and end time of an event and > I'm trying to come up with a graphical way for them to do that to > ensure that the time is in the correct format. > > What appeals to me the most is to use some sort of slider that would > i

Re: How to enter a time of day

2010-02-20 Thread Jeffrey Massung
Pete, If your app runs exclusively on the Mac you may want to just look at integrating iCal into it with AppleScript and handle it that way... When your app launches or whenever is appropriate, let the user select a calendar file that's exclusive to your app. The user could open it in iCal to

Re: How to enter a time of day

2010-02-20 Thread Peter Haworth
Thanks Marty and Jeff. I will take a look at at your stack Marty. Jeff, you raise a good point, I hadn't thought about. I'm mainly running on a Mac and people tend to schedule things with tasks/ appointments in iCal although various third party tools have their own built in schedulers with

Re: How to enter a time of day

2010-02-20 Thread Jeffrey Massung
You may want to take a look at Windows' task scheduler or whatever it is on the platform you are targeting. While it's possible to come up with something better and easier, I usually find that straying from UI paradigms that users are accustomed to can end up causing a lot of needless pain for t

Re: How to enter a time of day

2010-02-20 Thread stephen barncard
There's some very useful code in Marty's stack - I modified it slightly so as to use a behavior and put the slider components into a group rather than putting the scripts in the buttons, so I could use the same code with any number of sliders. - Stephen Barncard San Francisc

Re: How to enter a time of day

2010-02-20 Thread Marty Knapp
Hi Peter, I don't know if it would help, but I have a stack at RevOnline called "Marty's Sliders" that would give you more flexibility and could perhaps be adapted for your use. At the end of the mouseMove handler there's a line that computes a value and puts it into a field to in effect sho

Re: How to enter a time of day

2010-02-20 Thread stephen barncard
use the slider to manipulate the seconds, and convert to time steps on the fly. Don't use the scale of the slider, instead make your own scale alongside. You might find a lookup table faster than conversion. - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev

How to enter a time of day

2010-02-20 Thread Peter Haworth
I have a need for users to enter a start and end time of an event and I'm trying to come up with a graphical way for them to do that to ensure that the time is in the correct format. What appeals to me the most is to use some sort of slider that would increment/decrement the time of day in