In that event using keys F5, F6 ... inside the RichView?

General TRichView support forum. Please post your questions here
Post Reply
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

In that event using keys F5, F6 ... inside the RichView?

Post by Ceprotec »

The thing is, I already have one extruded drafts ready with their texts and variables @?? they are replaced in real time when I open a particular draft I created.
So far so good!! But I need to put in my text after the loading of variables @?? they are replaced by a routine subistuição, a different way to insert a content that comes from a form (record) out of me and a certain return information as an example, the name of a client. Ai then, I would click a button to receive and this name would appear in my Editor position that my cursor is within RichView.

In that event using keys f5, f6, f7 etc ... RichViewEdit from within, to run the program and return an application on information such as a name into the Customer RichViewEdit position my cursor is inside the text editor?
Sergey Tkachenko
Site Admin
Posts: 17571
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You can process OnKeyDown and check Key = VK_F5, etc.
However, I recommend to create actions or menu items with these Shortcuts instead.
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

In that event using keys F5, F6 ... inside the RichView?

Post by Ceprotec »

But how I do it, give me an example?
and as I bring the information inside the editor?
Sergey Tkachenko
Site Admin
Posts: 17571
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Please tell me which example do you need.
Replacing all variables in text (like @name, or may be @name@?) with values?
I do not understand how do you want to use F5, F6 to replace variables.
Post Reply