Hi all,
I'm having trouble creating a TCustomComboBox component. I'm overriding Dropdown but it seems like the event never gets fired?
TTDComboBox = class(TCustomComboBox)
private
{ Private declarations }
protected
{ Protected declarations }
procedure DropDown; override;
procedure TTDComboBox.DropDown;
var
i: Integer;
begin
//just a test
//SendMessage(Self.Handle, CB_SETDROPPEDWIDTH, ItemWidth, 0);
Self.Perform(CB_SETDROPPEDWIDTH, 100, 0);
What am I doing wrong here?