04, 2010 1:36 PM
To: delphi@delphi.org.nz
Subject: [DUG] hour / minute component
Hi, does anyone know of a component that would allow me to enter hours and
or minutes into it. What I'm trying to do is enter how much time a
particular action will take. Some things will take just minutes while
Hi, does anyone know of a component that would allow me to enter hours and
or minutes into it. What I'm trying to do is enter how much time a
particular action will take. Some things will take just minutes while others
will take an hour(s) or more. For example; install a light switch plate = 5
TDateTimePicker - Kind = dtkTime
or you can write your own using combination of TEdit and TUpDown
Edward Koryagin
--- On Fri, 5/2/10, Charlie kersc...@bellsouth.net wrote:
From: Charlie kersc...@bellsouth.net
Subject: [DUG] hour / minute component
To: delphi@delphi.org.nz
Received: Friday
--- On Fri, 5/2/10, Charlie kersc...@bellsouth.net wrote:
From: Charlie kersc...@bellsouth.net
Subject: [DUG] hour / minute component
To: delphi@delphi.org.nz
Received: Friday, 5 February, 2010, 7:35 AM
Hi,
does anyone know of a component
that would
I don't think there is any real standard way to enter either times or time
intervals - what I do is use a straight edit box which allows several alternate
formats and convert the entry on the onexit event,
eg I can allow times like 1:10pm to be entered as
13:10
1:10pm
or time intervals can
I'd suggest a simple edit box that allowed users to enter their times
as they can based on some rules. This, if i read you correctly allows
a person to enter munutes and/or hours eg :
3h
90m
1h 20m
2d 5h 45m
48h
Then process the entry based on the simple rules. If someone enters
sething
I agree with this. Its the cleanest easiest way to do it. mask edits and
stuff always end up being counter productive IMO.
it is very easy to use Stringlist Commatext to break it down, then analyze
each suffix. even if they type 20m 20m you just have a sum of 40m.
On Fri, Feb 5, 2010 at 12:12
Incidentally I have taken to doing something similar with date entry. An edit
box, but in this case I put a little arrow button at the end of it, and
clicking that superimposes a date picker over the edit box. Its rather more
work but it works really neatly, and can be easily repeated.
Date
.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of John Bird
Sent: Friday, 5 February 2010 13:53
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] hour / minute component
Incidentally I have taken to doing something similar with date entry