Implementing OnMouseOver for Items in a TComboBox, with Custom Hints
Thursday November 9, 2006
in Advanced Delphi ::
Here's how to get the caption of an item in a TComboBox as mouse hovers over an item when the ComboBox is in drop down state. Use this "trick" to get the object associated with the "pre-selected" item in a combo box, or to display a custom hint for each item, for example.
Here's how to get the caption of an item in a TComboBox as mouse hovers over an item when the ComboBox is in drop down state. Use this "trick" to get the object associated with the "pre-selected" item in a combo box, or to display a custom hint for each item, for example.
Read the full article: TComboBox.Item Hints
Related: Select ListBox items as mouse Hovers over Items | Custom hint windows | How to right-align items in a TComboBox / TListBox


No comments yet. Leave a Comment