memberFDIC
Programmer
I am using Delphi 7. Open up the sample RichEdit.dpr project that comes free with Delphi 7 in the demos folder.
Then add a TReplaceDialog component to the form. Add an event to one of the menu items that will trigger:
ReplaceDialog1.Execute;
Run the app. Type in some text into the editor, then swipe some of the text that you've entered with your mouse, and copy it to the clipboard. Next, trigger the Replace dialog. Place your cursor into the "Find text" field, and press CTRL+V. Notice how the text gets pasted into the editor, rather than in the Replace dialog.
Why is this, and how does not get the pasted text to appear in the Replace dialog?
Then add a TReplaceDialog component to the form. Add an event to one of the menu items that will trigger:
ReplaceDialog1.Execute;
Run the app. Type in some text into the editor, then swipe some of the text that you've entered with your mouse, and copy it to the clipboard. Next, trigger the Replace dialog. Place your cursor into the "Find text" field, and press CTRL+V. Notice how the text gets pasted into the editor, rather than in the Replace dialog.
Why is this, and how does not get the pasted text to appear in the Replace dialog?