Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to paste from Clipboard into TReplaceDialog

Status
Not open for further replies.

memberFDIC

Programmer
Jan 22, 2009
10
US
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?
 
I tried it and didn't have any trouble. You didn't give anyone anymore idea as to what the problem might be, and it's hard to clarify what is going on. You might try debugging things and see what is going on. It could very well be either an issue that got introduced in your change you made or a bug in Delphi 7. It's hard for us to tell given what little you have given us.

It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top