Problem with RichViewActions

General TRichView support forum. Please post your questions here
Post Reply
lukas2k6
Posts: 3
Joined: Sun Mar 19, 2006 6:26 am

Problem with RichViewActions

Post by lukas2k6 »

I have 2 TRichView in a 1 Form, but RichViewActions only run in a one TRichView (All actions).

How, change scope to active TRichView?

Thanks.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Probably, you assigned one of this RichViewEdits to RVAControlPanel.DefaultControl
lukas2k6
Posts: 3
Joined: Sun Mar 19, 2006 6:26 am

Problem with RichViewActions

Post by lukas2k6 »

I have one (First Create) TRichViewEdit,RichViewActions run.
But in a second (Second Create) TRichViewEdit RichViewActions don't run.

How make to change the RichViewActions scope to second TRichViewEdit or
to first TRichViewEdit in anytime.

Thanks
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Place TRVAControlPanel component on form.
Assign the first RichViewEdit to RVAControlPanel1.DefaultControl.
When you want to work with the second editor, assign it to RVAControlPanel1.DefaultControl, and so on.

For example, you can do this assignment in OnEnter event of the editors.
lukas2k6
Posts: 3
Joined: Sun Mar 19, 2006 6:26 am

Ok

Post by lukas2k6 »

All Ok. thank's
Post Reply