Page 1 of 1

Insert Control

Posted: Fri Jun 05, 2015 4:44 am
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

Posted: Fri Jun 05, 2015 8:25 am
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,

hi

Posted: Fri Jun 05, 2015 9:13 am
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.

Posted: Fri Jun 05, 2015 2:06 pm
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.