tbuttonededit

Is it possible to add a history list dropdown to Delphi's TButtonedEdit?

倖福魔咒の 提交于 2020-01-01 12:32:31
问题 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

Is it possible to add a history list dropdown to Delphi's TButtonedEdit?

瘦欲@ 提交于 2020-01-01 12:32:02
问题 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

Is it possible to add a history list dropdown to Delphi's TButtonedEdit?

流过昼夜 提交于 2019-12-04 10:10:55
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. RRUZ 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.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls,