Time entry

Scott Rossi scott at tactilemedia.com
Mon Feb 22 12:08:30 EST 2010


Hi Pete:

FWIW, if you have a small amount of real estate for the time entry  
control, a clock face is a lot more efficient than a slider.   
Regardless, yes 48 is the number of 15 minute intervals.  The other  
thing you may need to adjust is the width of the slider base graphic  
-- it's currently wide enough to evenly accommodate tick marks for the  
48 intervals.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



On Feb 22, 2010, at 8:47 AM, Peter Haworth <pete at mollysrevenge.com>  
wrote:

> Thank you so much for this Scott, just what I was looking for.  I'm  
> liking the sliders better than the clock right now, perhaps because  
> of my preconception of how I wanted to do this.
>
> The code goes way beyond my Rev capabilities, so I do have to ask a  
> couple of questions.
>
> At line 13, you divide by 48.  I think 48 represents the number of  
> 15 minute intervals in the slider scale of 12 hours, is that right?   
> I may need something other than a 12 hour scale so just want to make  
> sure I know how to adjust the code appropriately.
>
> If I do adjust the scale to something other than 12 hours, would I  
> need to change anything else in the code?
>
> Thanks again for this!
>
> Pete Haworth
>
>
>
>
> On Feb 22, 2010, at 4:21 AM, use-revolution-request at lists.runrev.com  
> wrote:
>
>>> This was a good interface challenge...
>>>
>>> Instead of using a standard slider, I think a dual slider would be  
>>> a good
>>> solution (but this might depend on the actual time constraints of  
>>> your
>>> "day").  Can't do this kind of thing with a stock slider however  
>>> (you'd
>>> need
>>> two separate sliders).
>>>
>>> It also occurred to me that mini-calendars are the current de-facto
>>> standard
>>> for entering dates in forms, so how about a clock face for time  
>>> entry?
>>>
>>> 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"
>>>
>>> Each set of controls relies on the behavior script that is present  
>>> on the
>>> right side of the stack.
>>>
>>> Maybe one of these could work.
>>>
>>> Regards,
>>>
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media, UX Design
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the Use-livecode mailing list