Subj : Problems with TEditFile Replace dialog box To : borland.public.cpp.borlandcpp From : Alan Jones Date : Fri Dec 17 2004 10:14 am In C++ 5.02 I have a class derived from TEditFile. Everything works great except for the FindReplace dialog box. Here is what happens. 1. User searches for a string of text. It is found and highlighted. 2. User types in replace text that is to be used to replace the found string. 3. User clicks "Replace" button. 3. Instead of replacing the occurance highlighted, the program finds the next occurance of this string and replaces it. Alan .