U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » LineEdit, EditFields, DocEdit » Enter time as duration
Re: Enter time as duration [message #11260 is a reply to message #11256] Wed, 29 August 2007 10:11 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Actually, it turns out this is a bit of a cock-up (IMO).

Basically what happens is that the EditTime control is really an EditTimeANDDate control, and always expects a valid date to be entered first.

For example, with date format mdy:
23:00 - not valid
11:01:2007 - valid
11:40:00 - not valid
11:00:2007 - not valid
11:34:1900 - valid
11:34:1900 23:30:01 - valid

So currently Upp has a 2 Date only controls and a Date AND Time control, but no Time only control. Sad
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DocEdit call RemoveLines make Assertion failed.
Next Topic: editing selection in doc edit
Goto Forum:
  


Current Time: Mon Oct 12 17:10:35 GMT+2 2026

Total time taken to generate the page: 0.00564 seconds