Hello, PROBLEM: I have the application with the following logic: A ListBox with words and edit box. The user types letters in edit box and the entered string is searched in list. If anything matches it is highlighted, if not - the highlighting is removed. At any time user can press enter to acomplish some action with selected (highlighted) word from the list. The problem is - I can not determine the situation when he first found something and then typed something wrong (the highlighting was removed) without researching the hole list on returnPressed event, and it takes considerable amount of time. SOLUTION: Solution is very very simple - add your own bool flag to application and set/unset/check it when needed. ------------------------------------------------------------ Program source is just a special case of a patch Andrey Novikov NAG-RIPN [http://www.brainbench.com/transcript.jsp?pid=447099] >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<