1. Computing & Technology

Discuss in my forum

in Delphi Tips :: A little trick is to use the letters gg in the format property. This format pattern displays the period or era. This pattern is ignored if the date to be formatted does not have an associated period or era string - which TDateTimePicker does not - thus the display is blank. When a date is subsequently selected you can then set the format to '' in the OnChange or OnClick event handler in order to get it to display again.

Read the full article to learn how to Force Blank Value Display on TDateTimePicker.

Related:

Comments
No comments yet.  Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Related Searches blank value

©2012 About.com. All rights reserved.

A part of The New York Times Company.