How can use AddText right?
Posted: Mon Jan 23, 2006 7:48 pm
Hi,
i have a little problem with TRichViewEdit.
I add short strings with AddText;
Example:
rv.AddText('hel', 0);
rv.AddText('lo wor', 0);
rv.AddText('ld', 0);
In the RichView "rv" shown the text "hello world", thats great!
When i dubleclick the text then marks the component only the words,
"hel"
"lo"
"wor"
"ld"
What is the mistake on my side?
I don't select the words "hello" and "World" as one complete.
best wishes, Frank
i have a little problem with TRichViewEdit.
I add short strings with AddText;
Example:
rv.AddText('hel', 0);
rv.AddText('lo wor', 0);
rv.AddText('ld', 0);
In the RichView "rv" shown the text "hello world", thats great!
When i dubleclick the text then marks the component only the words,
"hel"
"lo"
"wor"
"ld"
What is the mistake on my side?
I don't select the words "hello" and "World" as one complete.
best wishes, Frank