# Button/Menu label, description, tags and sequences

**URL:** <https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007>\
**Category:** Help & Support\
**Created:** [November 17, 2023, 3:00am UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007 "2023-11-17T03:00:08Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![yonder](https://resource.dopus.com/user_avatar/resource.dopus.com/yonder/32/26886_2.png) [@yonder](https://resource.dopus.com/u/yonder)\
**Post date:** [November 17, 2023, 3:00am UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/1 "2023-11-17T03:00:08Z")

</div>

```auto
<#ffffff>	Foreground color
<kbd> Outlined key drawing
<b> Bold
<i> Italic
<u> Underline
\n Newline
\t Tab

<%sp:2> Horizontal spacing (2 pixels)
<%vsp:2>	Vertical spacing (2 pixels)

```

Few questions.

1. I suspect there is a way to set background color for buttons with a tag. If so, how?  
Edit:`<font bgcol="#cccccc"></font>` This is limited to the font background and not the whole button.
2. Is the three-button tooltip that displays the mouse icons shown with one of these tags?
3. Any other tags etc missing from the list above you can share?

Thanks!

* * *

Reference for \<%ddbi:xxx\> (DOpus v13.14)  
_Edit:_ Unfortunately I didn't include \<%ddbi:0\> it appears to be the same as \<%ddbi:75\>  
Changing ddbi to ddbg will give you black and white version of icons.

 ![dopus_markup_ref_ddbi_index](https://resource.dopus.com/uploads/default/original/3X/e/3/e379fe3ecaae48b1c46c2ed8f365dfdb33d7e86c.png)

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [November 17, 2023, 2:45pm UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/2 "2023-11-17T14:45:17Z")

</div>

Some things to play with...

Keep in mind none of this is documented/supported, so things could change/break. It's just stuff we needed in one place or another.

Easiest way to play with things is in button labels, since you can see the results as soon as you type.

* * *

![image](https://resource.dopus.com/uploads/default/original/3X/c/7/c767968490c898aa2e370b01bc055825edf03477.png)

```plaintext
<%error> <%update> <%oned:4> <%oned:3> <%ddbi:5> <%ddbi:155>
<%tbim:rename> <%tbim:makedir> <%fdbi:8> <%fdbi:12>
<%winlogo> <%bulb:1> <%bulb:2> <%bulb:3>
<%weblink> <%windowlink> <%menulink> <%manlink>
<%bullet> <%arrow> <%arrowu> <%arrowd> <%arrowl>
<%stars:3> 
<%mouse> <%mousel> <%mouser> <%mousem>
<%checkbox> <%checkbox:0> <%checkbox:2>

```

* * *

`<nowrap> ... </nowrap>` prevents new lines, especially useful if you want one of those icons at the start or end of a word.

* * *

`<fixed>Hello</fixed>` uses a monospace font.

* * *

![image](https://resource.dopus.com/uploads/default/original/3X/0/3/03689d89917baf3275718e0aa984d71f928d04f1.png)

`<%bg:75^100^50^#0000ff^#00aa00^#ffffff^#003333^#ffffff>`

Value, Total, Width, Color1, Color2, Color3 (or "no"), BackColor (or "no"), TextColor (or "no"), Gradient, Frame, Line, Value1, Value2

* * *

---

<div class="post-metadata">

**Author:** ![abr](https://resource.dopus.com/user_avatar/resource.dopus.com/abr/32/62448_2.png) [@abr](https://resource.dopus.com/u/abr)\
**Post date:** [November 17, 2023, 4:23pm UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/3 "2023-11-17T16:23:32Z")

</div>

> [@Leo](#):
>
> `<%bg:75^100^50^#0000ff^#00aa00^#ffffff^#003333^#ffffff>`
> 
> Value, Total, Width, Color1, Color2, Color3 (or "no"), BackColor (or "no"), TextColor (or "no"), Gradient, Frame, Line, Value1, Value2

Nice, but still very cryptic. There should be a color picker for the colors. For example, i would like to change the colors starting with light green (plenty of space) to red (critical), and also change the background color to something lighter. Only a suggestion. 🙂

---

<div class="post-metadata">

**Author:** ![yonder](https://resource.dopus.com/user_avatar/resource.dopus.com/yonder/32/26886_2.png) [@yonder](https://resource.dopus.com/u/yonder)\
**Post date:** [November 17, 2023, 4:58pm UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/4 "2023-11-17T16:58:36Z")

</div>

Wow, a progress bar can be placed in a button label. Wasn't expecting that one. Was hoping for a way to set the background color of a button conditionally with evaluator. Thanks for taking the time and sharing!

---

<div class="post-metadata">

**Author:** ![aussieboykie](https://resource.dopus.com/user_avatar/resource.dopus.com/aussieboykie/32/23729_2.png) [@aussieboykie](https://resource.dopus.com/u/aussieboykie)\
**Post date:** [November 17, 2023, 10:20pm UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/5 "2023-11-17T22:20:09Z")

</div>

Are these useful icons/images somehow accessible from a script? Perhaps using DOpus.Loadimage?  
I am particularly interested in stars:0 through stars:5.

![image](https://resource.dopus.com/uploads/default/original/3X/c/7/c767968490c898aa2e370b01bc055825edf03477.png)

---

<div class="post-metadata">

**Author:** ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)\
**Post date:** [November 17, 2023, 10:26pm UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/6 "2023-11-17T22:26:06Z")

</div>

They're not available as an image but you can use a markup text control to show them in a dialog using the HTML.

 ![image](https://resource.dopus.com/uploads/default/original/3X/c/a/ca8320f200848625a92da92442a965b22eec08af.png)

---

<div class="post-metadata">

**Author:** ![errante](https://resource.dopus.com/user_avatar/resource.dopus.com/errante/32/61692_2.png) [@errante](https://resource.dopus.com/u/errante)\
**Post date:** [November 18, 2023, 6:30am UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/7 "2023-11-18T06:30:25Z")

</div>

@Jon any chance to use those icons in a button from a script?

---

<div class="post-metadata">

**Author:** ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)\
**Post date:** [November 18, 2023, 6:41am UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/8 "2023-11-18T06:41:57Z")

</div>

No, but markup text controls can have clickable links in them which might help?

---

<div class="post-metadata">

**Author:** ![yonder](https://resource.dopus.com/user_avatar/resource.dopus.com/yonder/32/26886_2.png) [@yonder](https://resource.dopus.com/u/yonder)\
**Post date:** [November 24, 2023, 9:43pm UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/9 "2023-11-24T21:43:28Z")

</div>

Added the missing `<u>underline</u>` tag to the list of my original post.

---

<div class="post-metadata">

**Author:** ![errante](https://resource.dopus.com/user_avatar/resource.dopus.com/errante/32/61692_2.png) [@errante](https://resource.dopus.com/u/errante)\
**Post date:** [December 23, 2023, 2:11am UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/10 "2023-12-23T02:11:12Z")

</div>

Any way to insert in a markup control the frame boxes that can be placed in the status bar?  
 ![image](https://resource.dopus.com/uploads/default/original/3X/9/c/9c9e1e1aabac3ac52543d083d1c01829e2946081.png)

I was looking at the possibilities that these new types of controls open up. They look good!!!  
An example of what I want to use these frames for:

  
Here I'm using `<kbd>` for the frames, but you can see that they end up overlapping, plus if I want to use icons for ➕ and ❌ they end up splitting like this:

 ![image](https://resource.dopus.com/uploads/default/original/3X/1/e/1e53027e0698fee2650dc4d2823a92df4bc7b1f9.png)

Also, there's no way to change the markup control background?

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [December 23, 2023, 4:42pm UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/11 "2023-12-23T16:42:11Z")

</div>

I don't think there is a way around any of those at the moment. We might be able to do some of them after the initial release.

---

<div class="post-metadata">

**Author:** ![yonder](https://resource.dopus.com/user_avatar/resource.dopus.com/yonder/32/26886_2.png) [@yonder](https://resource.dopus.com/u/yonder)\
**Post date:** [January 6, 2024, 9:03pm UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/12 "2024-01-06T21:03:29Z")

</div>

Process Explorer has a 'Strings' tab, I searched and found...

```auto
<%sp:2> Horizontal spacing (2 pixels)
<%vsp:2>	Vertical spacing (2 pixels)

```

---

<div class="post-metadata">

**Author:** ![errante](https://resource.dopus.com/user_avatar/resource.dopus.com/errante/32/61692_2.png) [@errante](https://resource.dopus.com/u/errante)\
**Post date:** [January 30, 2024, 3:05pm UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/13 "2024-01-30T15:05:55Z")

</div>

Hello  
I'm trying to use the following as a label or description:

EXPAND=top Ctrl  
COLLAPSE ALL Ctrl+Shift  
SMART \<%mousel\>

Using:

`EXPAND=top\t<kbd>Ctrl</kbd>\nCOLLAPSE ALL\t<kbd>Ctrl</kbd>+<kbd>Shift</kbd>\nSMART\t<%mousel>`

but it doesn't work, only shows `EXPAND=top`.  
Any idea why?

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [January 30, 2024, 4:36pm UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/14 "2024-01-30T16:36:22Z")

</div>

I don't think you can use the markup in button descriptions, and button labels can't be multi-line.

---

<div class="post-metadata">

**Author:** ![errante](https://resource.dopus.com/user_avatar/resource.dopus.com/errante/32/61692_2.png) [@errante](https://resource.dopus.com/u/errante)\
**Post date:** [March 15, 2025, 1:50am UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/15 "2025-03-15T01:50:42Z")

</div>

> [@Leo](#):
>
> I don't think there is a way around any of those at the moment. We might be able to do some of them after the initial release

Hi. How about now?

It would be nice to have for markup controls the ability to use some type of frame that supports both icons and text. `<kbd>` doesn't.

---

<div class="post-metadata">

**Author:** ![yonder](https://resource.dopus.com/user_avatar/resource.dopus.com/yonder/32/26886_2.png) [@yonder](https://resource.dopus.com/u/yonder)\
**Post date:** [March 28, 2025, 5:56am UTC](https://resource.dopus.com/t/button-menu-label-description-tags-and-sequences/47007/16 "2025-03-28T05:56:04Z")

</div>

Added reference image for the icon index of \<%ddbi:xxx\>
