Board index » delphi » Masked Date & Time Field Problem

Masked Date & Time Field Problem

Using the TDBDateTime field, I want to let  the user edit the date and time
for (bookings) in the same edit box.

Formatting and displaying the date & time in the box is OK

The edit mask is object !99/99/0000 90:00;1;_

Unfortunately the moment the cursor moves into the edit box, the time
display disappears. A real nuisance!

Anyone have any clues?



Re:Masked Date & Time Field Problem

Hi again,

If anyone is interested, the problem was due to the actual time value
which, in the offending fields, had been set to midnight, ie, 00:00:00. End
result, the edit mask displays blanks!



Other Threads