# Group Control Border Color

**URL:** <https://clarionhub.com/t/group-control-border-color/6547>\
**Category:** questions\
**Tags:** color\
**Created:** [August 30, 2023, 2:15pm UTC](https://clarionhub.com/t/group-control-border-color/6547 "2023-08-30T14:15:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![totalhip](https://clarionhub.com/user_avatar/clarionhub.com/totalhip/32/1477_2.png) [@totalhip](https://clarionhub.com/u/totalhip)\
**Post date:** [August 30, 2023, 2:15pm UTC](https://clarionhub.com/t/group-control-border-color/6547/1 "2023-08-30T14:15:43Z")

</div>

Not seeing anything in the docs. Is it possible to set the color of a GROUP control border?

---

<div class="post-metadata">

**Author:** ![Mike\_Duglas](https://clarionhub.com/user_avatar/clarionhub.com/mike_duglas/32/1061_2.png) [@Mike\_Duglas](https://clarionhub.com/u/Mike_Duglas)\
**Post date:** [August 30, 2023, 7:37pm UTC](https://clarionhub.com/t/group-control-border-color/6547/2 "2023-08-30T19:37:22Z")

</div>

Seems like the only way is custom draw.

---

<div class="post-metadata">

**Author:** ![Rick\_UpperPark](https://clarionhub.com/user_avatar/clarionhub.com/rick_upperpark/32/346_2.png) [@Rick\_UpperPark](https://clarionhub.com/u/Rick_UpperPark)\
**Post date:** [August 30, 2023, 8:08pm UTC](https://clarionhub.com/t/group-control-border-color/6547/3 "2023-08-30T20:08:26Z")

</div>

What about setting the group to not be Boxed and have a BOX control of the exact same size?

---

<div class="post-metadata">

**Author:** ![totalhip](https://clarionhub.com/user_avatar/clarionhub.com/totalhip/32/1477_2.png) [@totalhip](https://clarionhub.com/u/totalhip)\
**Post date:** [August 30, 2023, 9:14pm UTC](https://clarionhub.com/t/group-control-border-color/6547/4 "2023-08-30T21:14:39Z")

</div>

Had tried that, but to avoid a lot of screen redesign, I need to keep the group control text. Settled for now on changing the FontColor & FontStyle of that text when needed. Still not convinced that it will prompt enough user attention to the controls within the group. It is interesting that the group border hasn’t any properties that can be set.

---

<div class="post-metadata">

**Author:** ![CarlBarnes](https://clarionhub.com/user_avatar/clarionhub.com/carlbarnes/32/1859_2.png) [@CarlBarnes](https://clarionhub.com/u/CarlBarnes)\
**Post date:** [September 1, 2023, 7:09pm UTC](https://clarionhub.com/t/group-control-border-color/6547/5 "2023-09-01T19:09:33Z")

</div>

I’d try to write a Procedure `GroupMyWay(LONG GroupFEQ, LONG LineColor)` that CREATE()'s a PROMPT() for the Group(‘Label’), and CREATE()'s 4 or 5 LINEs the Color you desire, leaving room for the Label. Work in Pixels as I would guess DLUs will not get the corners precise.

Start by mocking it up in the Window Designer to see if the look is acceptable. Drop a PROMPT and 4 or 5 LINEs with color, arrange to be like GROUP to see how it looks.

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [September 1, 2023, 8:58pm UTC](https://clarionhub.com/t/group-control-border-color/6547/6 "2023-09-01T20:58:09Z")

</div>

I do something similar, but use BOX instead of LINE. If you don’t need non vertical/horizontal lines, BOX will often paint a lot cleaner.

---

<div class="post-metadata">

**Author:** ![totalhip](https://clarionhub.com/user_avatar/clarionhub.com/totalhip/32/1477_2.png) [@totalhip](https://clarionhub.com/u/totalhip)\
**Post date:** [September 3, 2023, 12:26am UTC](https://clarionhub.com/t/group-control-border-color/6547/7 "2023-09-03T00:26:52Z")

</div>

Definitely worth a try with either line or box. Like the procedure idea.

---

<div class="post-metadata">

**Author:** ![softwaretailor](https://clarionhub.com/user_avatar/clarionhub.com/softwaretailor/32/5553_2.png) [@softwaretailor](https://clarionhub.com/u/softwaretailor)\
**Post date:** [September 3, 2023, 7:10pm UTC](https://clarionhub.com/t/group-control-border-color/6547/8 "2023-09-03T19:10:23Z")

</div>

It wouldn’t be in the docs, but you can use GROUP and BOX controls _together_ (of course), and it will appear as though the GROUP control has the color. For example:

```
    BOX,AT(5,7,351,35),USE(?Box:1),COLOR(COLOR:Red),LINEWIDTH(1)
    GROUP('Group Text'),AT(6,4,349,37),USE(?Group:1),BOXED
    END

```
