Is it possible to add a history list dropdown to Delphi's TButtonedEdit?
问题 I'm using Delphi XE2's TButtonedEdit but I would like to add a dropdown list for the history (like TComboBox). I know that TComboBox is a glorified TEdit, so is there a message I can send to TButtonedEdit to add this functionality please? Thanks. 回答1: You can use the IAutoComplete2 interface to accomplish this task. Check this sample code (adapted for TButtonedEdit and Delphi XE2), based on this answer (Auto append/complete from text file to an edit box delphi) from Ken White uses Winapi