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 #11256 is a reply to message #11249] Wed, 29 August 2007 09:40 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
EditTime won't do it because it only accepts times <= 12 hours. You need to define your own convert function and edit control:
typedef EditMinMax<Time, ConvertDuration>            EditDur;

You should still be able to use the Time class, providing durations are < 256 hours.
 
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: Wed Jun 17 15:36:31 GMT+2 2026

Total time taken to generate the page: 0.00639 seconds