Hi BT.
I think you might have some success if you look up "AppendStyleRun"
in the language reference. It's part of the StyledText class.
Russ
On Dec 9, 2006, at 1:19 AM, cipher.one wrote:
Hello Everyone,
I have a question about styledText... Is there a way to
concatenate styledText in RealBasic? I know I can concatenate
strings...
Dim s,s2 as string
s = "REAL"
s2 = "basic"
Editfield1.text = s + s2
The code above works but not the code below...
Dim s, s2 as styledText
s = new styledText
s2 = new styledText
s.text = "REAL"
s.bold(0,3) = true
s2.text = "basic"
s2.textColor(0,4) = rgb(255,0,0)
Editfield1.StyledText = s + s2
Has anyone tried to concatenate styledText before, if so how can I
do it? Thanks
BT
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>