Page 1 of 1

Getting text with format

Posted: Fri Nov 27, 2015 11:09 am
by Ceprotec
Hi,

I am using the filll fields function with getvaluefromdatabase, where i'm getting a formated (bold,italic, etc..) text, and i want to put this text into a variable to the function insert ( or replace ), and still get the formated text.


Could anyone help me with this ?

Posted: Fri Nov 27, 2015 12:28 pm
by Sergey Tkachenko
Sorry, I do not understand the question.

I suppose the function getvaluefromdatabase is a function from one of demo projects?

Posted: Fri Nov 27, 2015 12:47 pm
by Ceprotec
Yes, it is.


I'm trying to replace a text and bring the text with the format style that i save from other text file...

The fillfields function replace letter per letter, I want to replace the entire word/text, the text that i want to overwrite comes from another text file from the database

Posted: Mon Nov 30, 2015 3:24 pm
by Sergey Tkachenko
Answered in a private message.

Re: Getting text with format

Posted: Fri Jul 07, 2017 8:29 pm
by tiagosis
Hello, I would like to know what was the solution applied in this post, because I have similar problem.

Re: Getting text with format

Posted: Sat Jul 08, 2017 9:48 pm
by Sergey Tkachenko
Do you store text in format that contains font properties (such as RVF or RTF)?
If not, how do you want to define font of inserted text?

Re: Getting text with format

Posted: Mon Jul 10, 2017 12:19 pm
by tiagosis
Yes, I have text in rtf format and would like to replace with a variable contained in a srichviewedit