But there is one tweak which I have not managed to implement. Once the user selects one of the proposed options, and triggers the SearchLookupIndexSelect event, then I would like the TAdvEdit text field to be empty again (ie. I do not want to display the selected item, I just want to react to it).
I have tried to set the text to '' again, but I always end up with the text of the selected item.
Do you have more detail?
TAdvEdit full property settings and from where exactly you set the Text property to empty string? From a TAdvEdit event? Other?
I use the OnExit(), but it seems that this happens at the time that the lookup list is displayed, so it never fires afterwards (unless I click inside the edit and then outside).
I also tried OnLookupSelect(), but it made no difference.
What I would need is the equivalent of the OnComboCloseUp() that exists for the TAdvStringGrid.