I have a TMaskEdit with the mask "!90:00<LL;1;_" . The time entered here, such as 09:33pm, gets written to a field with data type of "Time" in a Firebird embeded database, version 2.5.2.
I also have a TDBGrid with column that display this Time field. Strange thing is, I enter the time in 12 hour format and the TDBGrid displays it in 24 hour format. I would like the time to be displayed in 12 hour format in the TDBGrid.
I noticed there is a property called DisplayFormat for each of the columns in the TDBGrid but I can't seem to find any information as to what goes in this property.
Would setting the DisplayFormat property allow me to display the time the way I want to? If yes, then what do I enter there? If no, then is there another way to solution?
Thanks,
TD