Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Fri Apr 19 21:18:45 CEST 2024

Total time taken to generate the page: 0.02107 seconds