Can't Paste into Find dialog
Page 1 of 1

Author:  kkeeley [ Thu Jun 23, 2005 1:22 am ]
Post subject:  Can't Paste into Find dialog

Using Version 3.1 of the editor I cannot paste a string into the Find dialog box it pastes the string into the source code instead.

Author:  profkelly [ Tue Dec 20, 2005 1:57 am ]
Post subject: 

You can paste if you right click in the find dialog and select paste from the menu.

Author:  explorerchess [ Tue Nov 11, 2008 12:12 am ]
Post subject:  Why not CTRL-V

You're right sir... The right-clicking works but... Why not trying to have CTRL-V work also in the find as any other application? The editor support it so it would be just natural that the find box support it also... Me too I'm still CTRL-V in that find box just to realize everytime it doesn't work. After dozen of attemps I realized the right-click paste works but... A CTRL-V would be much better. Ha! Ha!

Author:  Folco [ Tue Nov 11, 2008 12:49 pm ]
Post subject: 

Interesting feature request. ProfKelly ?

Author:  profkelly [ Tue Nov 11, 2008 2:14 pm ]
Post subject:  Re: Why not CTRL-V

explorerchess wrote:
Why not trying to have CTRL-V work also in the find as any other application?

Shift+Ins also works to paste text in the find dialog.

The find dialog is a standard control in C++ Builder. I have no control over how it accepts pasted text. I would need to create a new find dialog control to get Ctrl+V to work. I will add it to the Wish List.

Author:  explorerchess [ Tue Nov 11, 2008 3:06 pm ]
Post subject:  Paste...

Ha! The gold old "Shift-Ins"! It tooks me years to convert my brain to "CTRL-V" since compiler/editor stop at some point to support the "Shift-Ins". Now I'll do a flash back in time! Ha! Ha!

Thanks for the hint. It works and I'll use it, beleive me! ;-)

That's strange that your FindDialog works this way. I mean, in Delphi the standard FindDialog works with the CTRL-V for many years. But I don't have any C++ Builder near me so I beleive you... But it's strange...

Author:  profkelly [ Tue Jan 20, 2009 11:52 pm ]
Post subject: 

For all you C++ Builder programmers:

Ctrl-V does not paste into a dialog if you have defined Ctrl-V as a shortcut in an Action List or Menu. Builder will intercept the Ctrl-V keypress before it gets to the dialog.

My solution was to create my own dialog and paste into it from the common paste function called by Ctrl-V.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group