【发布时间】:2019-04-08 11:19:54
【问题描述】:
【问题讨论】:
【问题讨论】:
您可以将此消息放入TCombobox对象的OnEnter事件中:
// Suppose the combobox control name is ComboBox
procedure TMainForm.ComboBoxEnter(Sender: TObject);
begin
PostMessage(ComboBox.Handle, CB_SETEDITSEL, Cardinal(-1), 0);
end;
【讨论】: