Re: [Fxruby-users] Date/Time Controls?
Status: Inactive
Brought to you by:
lyle
From: Martin H. <ma...@zs...> - 2004-01-14 10:28:38
|
On Tuesday 13 January 2004 20:54, Stef wrote: > > Well, there is nothing in the base 1.0 Fox and i dont > -think- that there is anyting in 1.1.x Fox (please > feel free to correct if thats wrong ;), however, > recently a project i was working on called for > a date/time widget almost the same, well, > you will see what i ended up with. It > may not be 100% what you are after, > however it does remind me of the > gnome v1.x datetime widget, which > is what i was after. It also includes > some sanity checks (end date cant be before > start date, hour cant be over 23, minutes cant > be over 59, etc etc :) > thanks very much for the code Stef - this is pretty cool! Although it does not match exactly what I had in mind (i was thinking of = a=20 single box), it has certainly given me some ideas. We have a requirement to be mainly keyboard driven - so I can't use the p= opup=20 calendar control directly (as much as I'd like to), but I like the idea o= f=20 using separate text boxes for the time components. With some automatic f= ocus=20 switching to the next box when the user has filled in the first one I thi= nk=20 this would work fine with the date as well as the time. Once again thanks very much - I should be able to get something going bas= ed on=20 this. Cheers, Martin --=20 Martin Hart ma...@zs... |