Text Highlighting

Started by goltoof, October 19, 2011, 10:13:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

goltoof

Is there a way to highlight text?   I don't mean selecting, or applying backgound color to the text box.  I just want the text itself to have a background color, like I can in word.

vojo

#1
Assuming June the Second text tools for visio does NOT meet your needs....you could  look at this

Dont know what this will look like but

2 text boxes
   Text 1 box....insert field and use a user cell    user.textbox1       
   Text 2 box...insert field and use a user cell     user.textbox2
   text box 1...text at bottom
   text box 2...text at top
   put same string in user.textbox1 and user.textbox2
   visually line up the text on the screen  (text boxes should partially overlap in the vertical direction....so you can still select either)
   bring textbox 1 to front
   go into textbox2 shapesheet and set font 1pt larger than text box 1
   change font color to say gray

If you are happy with that, then
   group them
   make 1 user cell at group level    user.textbox     (it will hold the string....can do a props.cell and use docmd(1312) in double click event to callup editing window
   subselect each text box and set user.textbox1 = <groupid>!user.textbox   and user.textbox2 = <groupid>!user.textbox
   in textbox2....set the font point to   fontsize = <textbox1id>!fontsize + 1pt

save it to a stencil for reusue



McCandrew

#3
The problem is much easier to solve than grouping two boxes.

1. Highlight the text.
2. Right click and select paragraph
3. Go to the "Text Block" tab.
4. In the lower part of the dialog box change the text background color.