打开后,TCombobox中的表单项将被高亮显示(文本中的蓝色背景色)。
有可能让它失效吗。

Tnx全部!
发布于 2019-04-08 11:30:18
您可以将此消息放入TCombobox对象的TCombobox事件中:
// Suppose the combobox control name is ComboBox
procedure TMainForm.ComboBoxEnter(Sender: TObject);
begin
PostMessage(ComboBox.Handle, CB_SETEDITSEL, Cardinal(-1), 0);
end;https://stackoverflow.com/questions/55572267
复制相似问题