/ Forums / Advansys Formativ / Formativ Creator / Toolbar Implementation for Rich Text Box / Reply To: Toolbar Implementation for Rich Text Box

#5616
Support 3
Participant

Stationery solution is one of our commercial solution. Unfortunately we are unable to provide the source of the commercial solutions.

quote:


I would like to know how to get the text of out the control and either into a variable or back into the text file in the temp dir.


You can use the Save method to save the changes to the file. See beloe for more information.

Maindlg.htmlEditor.Save : Changes will be saved to the existing HTML file. If you want to load the updated string to a variable then you can call the following method.
myHtml = utilities.LoadStringFromFile(“c:temptext.htm”)

Maindlg.htmlEditor.CancelEdits: Cancel the changes.

Regards,
Advansys Support