When I tab from another control to a combo box it shows the box with a dotted line around the text, but when I set the control to be active programmatically, it doesn\'t show th
To make the focus rectangle appear on a combo box, when setting the focus programmatically, you can use the following code:
ComboBox.SetFocus; ComboBox.Perform(WM_SYSKEYDOWN, VK_TAB, 0);