How to enter a time of day

Jeffrey Massung massung at gmail.com
Sat Feb 20 11:45:30 CST 2010


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 the developer: annoying bug reports that aren't really bugs and feature requests to make something act "normal".

If you want something graphical, I'd make the input a selection (like a date picker) or typed in, and perhaps have an analog clock graphic that can indicate to the user potential problems.

My 2 cents.

Jeff M.


On Feb 20, 2010, at 11:35 AM, Marty Knapp wrote:

> 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 show the thumbPosition of the slider.
> 
> Marty Knapp
>> 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 15 minute intervals.  I was hoping the rev slider control would be the answer to it but it only seems to deal with whole numbers on its scale, haven't been able to figure out how to deal with time-based numbers.
>> 
>> Any recommendations on how to set about implementing this?
>> 
>> Pete Haworth
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> 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
>> 
> 
> _______________________________________________
> 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