Friday, August 29, 2008

Delphi 2009 - TextHint in TComboBox

CodeGear has given me permission to blog about the upcoming release of Delphi 2009 (Tiburon).

Delphi 2009 adds TextHint support to edit controls, a nice feature that lets you show a grayed out text watermark. I was pleasantly surprised to find out that Delphi 2009 extends this support to TComboBox on XP, normally only supported on Vista. Under the covers, they send the Windows message CB_SETCUEBANNER to the ComboBox on Vista and EM_SETCUEBANNER to the ComboBox's edit control on XP.

I've seen a few of these "minor" tweaks in this release, which suggests that CodeGear is spending some time on cleanup and improvement of smaller details and not just big ticket features.

No comments: