After open form item in TCombobox is highlighted (Blue backgrond on text).
Is it possible disable that.
Tnx all!
You can put this message into OnEnter event of TCombobox object:
OnEnter
TCombobox
// Suppose the combobox control name is ComboBox procedure TMainForm.ComboBoxEnter(Sender: TObject); begin PostMessage(ComboBox.Handle, CB_SETEDITSEL, Cardinal(-1), 0); end;
You can put this message into
OnEnterevent ofTComboboxobject: