Two TRichViewEdits on one form - separate actions?

General TRichView support forum. Please post your questions here
Post Reply
GC04
Posts: 3
Joined: Tue May 25, 2010 4:38 pm

Two TRichViewEdits on one form - separate actions?

Post by GC04 »

I have 2 TRichViewEdits on the same form. One of them is set to ReadOnly and the other allows editing. I have basic actions set up so that the user can set Bold, Italic, Underline, and Alignment on the editable TRichViewEdit. The problem is that when I move the cursor around the ReadOnly TRichViewEdit the buttons I have controlling those actions light up based on the text style of the ReadOnly Form. I only want the buttons to reflect the editable TRichViewEdit, not the ReadOnly one. Is this possible? Thanks.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Place TRVAControlPanel on the form (note: you can use only one instance of this component in application).
Assign RVAControlPanel1.DefaultControl := editable richviewedit.
Post Reply