1. vel questions!?!
------=_NextPart_000_0391_01BF0B57.B05230E0
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
Hi!!
I have a question about VEL 0.05.
When I try to insert text from sequence to richedit, nothing appeared in =
richtext box.
I have created Richedit like:
RichEdit1 =3D CreateControl(RICHEDITOR,Form1)
s =3D {{TEXT, "bio jedan pas i pojeo je kost "},
{MEMOSCROLL, BOTHSCROLL},
{ALIGN, ABOTTOM},
{HEIGHT, 300},
{WORDWRAP,FALSE},
{TABSTOP, TRUE},
{ENABLED, TRUE},
{VISIBLE, TRUE},
{PLAINTEXT, TRUE},
{WANTTABS, TRUE},
{FONTNAME,"PF2"},
{FONTHEIGHT,8}}
SetAttribute(RichEdit1,s)
Also I use following commands to put text:
buffer=3D"qwertzuiop"
SetAttribute(RichEdit1,{{TEXT,buffer}})
What am I doing wrong?
Robert
------=_NextPart_000_0391_01BF0B57.B05230E0
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-2 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi!!</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>I have a question about VEL =
0.05.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>When I try to insert text from =
sequence to=20
richedit, nothing appeared in richtext box.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>I have created Richedit =
like:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> RichEdit1 =3D=20
CreateControl(RICHEDITOR,Form1)<BR> s =3D {{TEXT, "bio jedan =
pas i=20
pojeo je kost "},<BR> {MEMOSCROLL,=20
BOTHSCROLL},<BR> {ALIGN,=20
ABOTTOM},<BR> {HEIGHT, =
300},<BR> =20
{WORDWRAP,FALSE},<BR> {TABSTOP,=20
TRUE},<BR> {ENABLED, =
TRUE},<BR> =20
{VISIBLE, TRUE},<BR> {PLAINTEXT,=20
TRUE},<BR> {WANTTABS, =
TRUE},<BR> =20
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>Also I use following commands to put =
text:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT =
size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>buffer=3D"qwertzuiop"</FONT></DIV>
<DIV><FONT color=3D#000000=20
<DIV><FONT color=3D#000000 size=3D2><BR>What am I doing =
wrong?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2><BR><FONT=20
------=_NextPart_000_0391_01BF0B57.B05230E0--
2. Re: vel questions!?!
Hi Robert,
You're right... the TEXT attribute doesn't work for the RICHEDITOR control
in 0.05. That was an oversight on my part. I've corrected the error and
have added it to the "Bleeding Edge" version on my WEB site:
Of course it will be in Version 0.06 later next month, but the bleeding
edge version should serve you well.
I've also added a new attribute... ADDLINE, which allows you to add
individual lines of text to the RICHEDITOR control without having to add
carriage returns to the text. It is also in the bleeding edge version on
the site.
Hope this helps... Gary.
Robert Gorenc wrote:
>Hi!!
>I have a question about VEL 0.05.
>When I try to insert text from sequence to richedit, nothing appeared in
richtext box.
>I have created Richedit like:
> RichEdit1 = CreateControl(RICHEDITOR,Form1)
> s = {{TEXT, "bio jedan pas i pojeo je kost "},
> {MEMOSCROLL, BOTHSCROLL},
> {ALIGN, ABOTTOM},
> {HEIGHT, 300},
> {WORDWRAP,FALSE},
> {TABSTOP, TRUE},
> {ENABLED, TRUE},
> {VISIBLE, TRUE},
> {PLAINTEXT, TRUE},
> {WANTTABS, TRUE},
> {FONTNAME,"PF2"},
> {FONTHEIGHT,8}}
> SetAttribute(RichEdit1,s)
>
>Also I use following commands to put text:
>
>buffer="qwertzuiop"
>SetAttribute(RichEdit1,{{TEXT,buffer}})
>
>What am I doing wrong?
>
>
>Robert
>