Rich Text Editor

mlynarik.jozef

Active member

Here are the basic steps on how to create a template using the "TRichEdit" component and create basic functions.

1: Add "TRichEdit" to template
Click image for larger version  Name:	create_component.PNG Views:	0 Size:	272.6 KB ID:	91154

2: Create contol button e.g. Bold
Click image for larger version  Name:	button_bold.PNG Views:	0 Size:	326.4 KB ID:	91155

3: RTF
Click image for larger version  Name:	memory_stream.PNG Views:	0 Size:	197.2 KB ID:	91153


Example of control template and functions: LINK

The next step is to convert to the desired format for the Control Text object. (Escape formatted text https://documentation.vizrt.com/viz-...trol_Text.html)

J.
 

Attachments

  • create_component.PNG
    create_component.PNG
    272.6 KB · Views: 27
  • button_bold.PNG
    button_bold.PNG
    326.4 KB · Views: 26
  • VBScript_DelphiScript.pdf
    118.6 KB · Views: 6
  • memory_stream.PNG
    memory_stream.PNG
    197.2 KB · Views: 28
Last edited:
What method did you use to parse the RichEdit text or rtf text and convert it to escape formatted text?
 
how do you map it to the scene.? I tried using formatted text with fo:wrapper it did not work for me. Please upload the latest template for reference. The template provided is incomplete.
 
hello
we had a template developed on this basis but we have a problem after saving.
The data is added to the text but not all the time.
vcp 5.7

 
Back
Top