# Format text mouseover

**URL:** <https://forum.inductiveautomation.com/t/format-text-mouseover/55477>\
**Category:** Ignition\
**Created:** [January 28, 2022, 12:42pm UTC](https://forum.inductiveautomation.com/t/format-text-mouseover/55477 "2022-01-28T12:42:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![yago.braga](https://avatars.discourse-cdn.com/v4/letter/y/dc4da7/32.png) [@yago.braga](https://forum.inductiveautomation.com/u/yago.braga)\
**Post date:** [January 28, 2022, 12:42pm UTC](https://forum.inductiveautomation.com/t/format-text-mouseover/55477/1 "2022-01-28T12:42:04Z")

</div>

Hi,

I’m having a problem regarding showing various information in the mouseover, where I’m not able to format the way the text will be shown, as can be seen in the following image:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/b/fb07371ff697d2360f27facf8a8cfd94a25f5f64.png)  
The ideal is that each information appears in a line, in the manual it says to use the “\n”, but still it did not work. Can anyone help me, please.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [January 28, 2022, 1:55pm UTC](https://forum.inductiveautomation.com/t/format-text-mouseover/55477/2 "2022-01-28T13:55:12Z")

</div>

> [@New Feature: Perspective Tooltips](https://forum.inductiveautomation.com/t/new-feature-perspective-tooltips/49630/28):
>
> ah in a binding, you should be able to do that with a triple " (it will copy the tabs too tho so dont put a tab on the new line) multiLinestring=""" some multi line string""" return multiLinestring

---

<div class="post-metadata">

**Author:** ![yago.braga](https://avatars.discourse-cdn.com/v4/letter/y/dc4da7/32.png) [@yago.braga](https://forum.inductiveautomation.com/u/yago.braga)\
**Post date:** [January 28, 2022, 4:52pm UTC](https://forum.inductiveautomation.com/t/format-text-mouseover/55477/3 "2022-01-28T16:52:37Z")

</div>

Thanks for the answer,  
But I couldn’t implement what was suggested, I’m developing in Visio. The function you gave me seems to be for the Scripting Console.

---

<div class="post-metadata">

**Author:** ![Matthew.gaitan](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@Matthew.gaitan](https://forum.inductiveautomation.com/u/Matthew.gaitan)\
**Post date:** [January 28, 2022, 9:26pm UTC](https://forum.inductiveautomation.com/t/format-text-mouseover/55477/4 "2022-01-28T21:26:04Z")

</div>

for Vision you have to format them with html:

`<html>Line 1 here<br>Line 2 here</html>`

---

<div class="post-metadata">

**Author:** ![yago.braga](https://avatars.discourse-cdn.com/v4/letter/y/dc4da7/32.png) [@yago.braga](https://forum.inductiveautomation.com/u/yago.braga)\
**Post date:** [January 31, 2022, 2:19pm UTC](https://forum.inductiveautomation.com/t/format-text-mouseover/55477/5 "2022-01-31T14:19:09Z")

</div>

Did not work

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/5/d5c53336771d31564d0bdb334175b0d4e01a60b2.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/4/24499507c5b25c9e3565e3e09e3028d1d8053b9b.png)

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [January 31, 2022, 2:22pm UTC](https://forum.inductiveautomation.com/t/format-text-mouseover/55477/6 "2022-01-31T14:22:17Z")

</div>

it must be a strings, so you gottta put " around it in an expression

```auto
"<html>" + {Root Container.name} +"<br>" + {Root Container.name} +"</html>"

```

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/f/3f6cbf6f8524661d7e04b123d2da0c911b82640f.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/c/7c76de30ccc1c85cd5474d7f1574378c31255b86.png)

---

<div class="post-metadata">

**Author:** ![yago.braga](https://avatars.discourse-cdn.com/v4/letter/y/dc4da7/32.png) [@yago.braga](https://forum.inductiveautomation.com/u/yago.braga)\
**Post date:** [January 31, 2022, 2:34pm UTC](https://forum.inductiveautomation.com/t/format-text-mouseover/55477/7 "2022-01-31T14:34:15Z")

</div>

It worked, thanks for the help.
