Copy and Paste Not Working in TFindDialog

For some reason I can't use ctrl-c or ctrl-v in TFindDialog. This is a high priority problem! This was not a problem with Delphi 3 but now I can't use these shortcuts.
LVL 1
Stephen ChamberlainSenior Software Engineer/System DesignerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

calinutzCommented:
There muyst be another error there... because the CTRL+C and CTRL+V works just fine for me with Delphi 7 on Windows XP Pro

:-)

Perhaps some other settings  you missed
calinutzCommented:
//===== form here:

object Form1: TForm1
  Left = 192
  Top = 107
  Width = 696
  Height = 480
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object Button1: TButton
    Left = 112
    Top = 60
    Width = 75
    Height = 25
    Caption = 'Find'
    TabOrder = 0
    OnClick = Button1Click
  end
  object FindDialog1: TFindDialog
    Left = 268
    Top = 76
  end
end

//== code here:

unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;

type
  TForm1 = class(TForm)
    FindDialog1: TFindDialog;
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
begin
FindDialog1.Execute;
end;

end.
calinutzCommented:
Did you try it like this?
It sure works for me...
Tell me if it doesn't for you
:-)
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

Stephen ChamberlainSenior Software Engineer/System DesignerAuthor Commented:
Unfortunately I am working with someone elses code which makes life difficult, but I am programming with C++ Builder and have some Delphi components, of which the TFindDialog is one.

  TCustomForm *searchWindow = activeWindow;

  if (searchWindow != NULL)
  {
    if (dynamic_cast<TTSWindow*>(searchWindow))
    {
      dynamic_cast<TTSWindow*>(searchWindow)->FindAllDialog->Execute();
    }
  }

This is about as much control as there is at the moment, I have no idea what property or function I need to call/set. Once the "ok" button is pressed a handler is called, but there is no function which sets any properties for the find dialog. Unfortunately I don't have much time to give to this either. I appreciate the help!
Stephen ChamberlainSenior Software Engineer/System DesignerAuthor Commented:
where FindAllDialog is a TFindDialog
Stephen ChamberlainSenior Software Engineer/System DesignerAuthor Commented:
as far as I can see from your code you are doing the same thing as I am, you declare a TFindDialog, then call execute upon a user action. Only it works for you and not for me!
illusion_chaserCommented:
I have a stupid suggestion...
Anyway, try CTRL + INSERT (instead of Ctrl + C)  and SHIFT + INSERT (instead of Ctrl + V). Does that work?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Stephen ChamberlainSenior Software Engineer/System DesignerAuthor Commented:
yes! That works, how odd! Do you have any explanation why this works and not ctrl+c, ctrl+v?
illusion_chaserCommented:
Explanation... Not really. It is some misfunction. Sometimes I had that strange behavior (not permanent though) in Delphi IDE, so Ctrl+Ins and Shift+Ins helped me out.

Best regards.
ic
Pierre CorneliusCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:
- Accept illusion_chaser

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Pierre
EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.