Subject TIB_LookupCombo oddity
Author Salvatore Besso
hello all,

I have noticed a strange thing using TIB_LookupCombo. I have defined the
OnChange and OnCloseUp events to transfer focus to another control at any
change of the combo or when the list is closed:

begin
if Visible and UnitEdit.Enabled then
UnitEdit.SetFocus
end;

I have applied the same event to both OnChange and OnCloseUp events because
they are of the same type (TNotifyEvent). When I close the drop down list
UnitEdit is correctly focused, instead when I select a different value in
the list causing the list to close as well, the focus remains in the combo.
But I have to say that it seems that for a moment UnitEdit become focused,
but immediately after the combo is focused again. I'm not very sure about
this because all happens too fast, like a flickering, but this is the
impression.

Any hints?

Regards
Salvatore