How to configure Plex INI file so that MFC control for Iso Time Fields convert from military to standard format time?

Document ID : KB000011575
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

We have recently switched all of our controls from Winwidget to MFC (to take advantage of the new native Windows controls). When you enter a time in military format, and then tab off of the field, the Winwidget control automatically converts the field to standard format HH:MM:SS AM/PM. When we change our INI file to specify MFC controls, the time fields do not convert from Military format to Standard format. Our users have been entering times in military format for over a decade. Now that we are moving to MFC controls, this feature does not work. Entry of a time field in standard format is very confusing to a user, and we would like to allow our users to continue to enter the field in military format. If the user enters the time in military format, the value is correctly written to the database, and displayed in standard format correctly when they view the record in change mode, but the conversion does not happen at the time of entry. 

Question:

Is there a way to configure our Plex application so that the MFC controls convert the time field from military time to standard time format at the time of data entry?

Answer:

Create a new section called 'SingleLineEdit' as follows with 'FlexibleDateEntry' in app INI

[SingleLineEdit] 
FlexibleDateEntry=1