G
germandb
Hi I'm using the OpenNetCf's TextBoxEx control and I need the textbox
to be
ReadOnly and put text with rtf format into the textbox.
I'm serching into the web but i don't find any example that showmy how
put rich text into the textbox using this control.
This is the demo string that i'm using
rtf_demo = "{\rtf1\deftab720{\fonttbl {\f2\fswiss
Tahoma;}}{\colortbl\red0\green0
\blue0;\red255\green0\blue0;\red0\green255
\blue0;\red0\green0\blue255;\red0\green255
\blue255;\red255\green255\blue0;} \deflang1033\plain\f2\fs17\cf1\b This
\plain\f2\fs17\cf2 is \plain\f2\fs17\cf3 a \plain\f2\fs17\cf4\b test!
\plain\f2 \fs17\cf5\b\ul underline \par }"
i'm try pass the string right to the textbox using the texboxex.text
method but it doesn`t work.
can any one help me?
to be
ReadOnly and put text with rtf format into the textbox.
I'm serching into the web but i don't find any example that showmy how
put rich text into the textbox using this control.
This is the demo string that i'm using
rtf_demo = "{\rtf1\deftab720{\fonttbl {\f2\fswiss
Tahoma;}}{\colortbl\red0\green0
\blue0;\red255\green0\blue0;\red0\green255
\blue0;\red0\green0\blue255;\red0\green255
\blue255;\red255\green255\blue0;} \deflang1033\plain\f2\fs17\cf1\b This
\plain\f2\fs17\cf2 is \plain\f2\fs17\cf3 a \plain\f2\fs17\cf4\b test!
\plain\f2 \fs17\cf5\b\ul underline \par }"
i'm try pass the string right to the textbox using the texboxex.text
method but it doesn`t work.
can any one help me?