Insert Control

General TRichView support forum. Please post your questions here
Post Reply
shah
Posts: 2
Joined: Fri Jun 05, 2015 4:43 am

Insert Control

Post by shah »

Hello,

We are interested to buy your TRichView and ScalabeleRichView for out company use and our main requirement is to insert controls inside the richview. after testing with demo we realized this feature works for mostly simple controls like edit and button and when we tried it with TForm with some controls inside it. the result looks like a captured screen and the events and controls inside the form is not updated.
Kindly advice
Sergey Tkachenko
Site Admin
Posts: 17562
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Controls inserted in TRichView or TRichViewEdit must work exactly like controls inserted in a form, because they are actually inserted in the editor like child controls.

For ScaleRichView, it's more difficult. We highly recommend using controls from SRVControls instead of standard conrols for insertion in TSRichViewEdit,
shah
Posts: 2
Joined: Fri Jun 05, 2015 4:43 am

hi

Post by shah »

We actually have couple of forms and frames with our custom made controls to draw charts and we wanted to insert the forms inside richview with abilty to edit the charts and access to toolbars inside form. but the result was more like a stretched screen shot of form.
Sergey Tkachenko
Site Admin
Posts: 17562
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Yes, in ScaleRichView, it is basically a screenshot of controls.
The editor catches messages of inserted controls to provide the proper redrawing and mouse processing for them, however, it might not work for nested controls.
Post Reply