apply bold format selectively within TextDisplay?

355 views
Skip to first unread message

kc

unread,
Oct 16, 2012, 2:14:48 PM10/16/12
to e-p...@googlegroups.com
Out of curiosity, I was wondering if anyone knows of a way to selectively set as "bold" only part of the text within a TextDisplay object.  My best guess is that this is impossible, but I don't know enough to rule out the possibility that some kind of special character or code could do this (for example, something analogous to the newline character '\n').  

I am aware that a similar goal could be accomplished using a Slide object, so this is really just a question of how much one can push the capabilities of TextDisplay Objects. 


David McFarlane

unread,
Oct 16, 2012, 3:42:53 PM10/16/12
to e-p...@googlegroups.com
Correct on all counts. TextDisplay applies the same text
characteristics to all the text, no way around that. And as you
said, one could work around this to some extent with a Slide,
although that would not automatically adjust for text that may appear
in different places for different sentences. For the ultimate in
control, you would have to go to Canvas.Text and associated methods
(see that topic in the E-Basic Help facility), I did that for one project.

-----
David McFarlane
E-Prime training
online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster)

kc

unread,
Oct 17, 2012, 2:23:53 PM10/17/12
to e-p...@googlegroups.com
Ah OK.  Thanks for the confirmation, good to know I'm not missing something obvious.
Reply all
Reply to author
Forward
0 new messages