Control-A to select all in DBRichViewEdit text

General TRichView support forum. Please post your questions here
Post Reply
agent86
Posts: 59
Joined: Mon Jun 28, 2010 2:18 am
Location: San Francisco Bay Area, USA
Contact:

Control-A to select all in DBRichViewEdit text

Post by agent86 »

I am creating my own Auto Text procedure...

I can't seem to select all the text in a DBRichViewEdit using Control-A. Works fine if I highlight and Control-C and Control-V to paste it into the RichViewEdit.

I want to select all text and move it and the formatiing to a RichViewEdit using:

Control-A select all
Control-C cut highlighted text
Control-V paste hightlighted text.

Just can't seem to make Control-A work.
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Ctrl+C and Ctrl+V are processed by the control itself. But Ctrl+A does not.
Create a command with Ctrl+A shortcut (or use OnKeyDown) and call DBRichViewEdit.SelectAll.
agent86
Posts: 59
Joined: Mon Jun 28, 2010 2:18 am
Location: San Francisco Bay Area, USA
Contact:

Thank you...

Post by agent86 »

I just "activated" the RVE actionlist item, Select All. Works great.
Post Reply