# Disabled button, but still highlighted - bug or feature?

**URL:** <https://techcommunity.softwareag.com/t/disabled-button-but-still-highlighted-bug-or-feature/57633>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Application-Composer\
**Created:** [April 11, 2007, 7:09pm UTC](https://techcommunity.softwareag.com/t/disabled-button-but-still-highlighted-bug-or-feature/57633 "2007-04-11T19:09:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![consros](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@consros](https://techcommunity.softwareag.com/u/consros)\
**Post date:** [April 11, 2007, 7:09pm UTC](https://techcommunity.softwareag.com/t/disabled-button-but-still-highlighted-bug-or-feature/57633/1 "2007-04-11T19:09:11Z")

</div>

Hello,

if in onButton() handler I switch the pressed button state to disabled, the button turns disabled but remains highlighted, even if mouse leaves buttons area. Therefore there can be several highlighted buttons.

Can I remove the highlighting somehow? Or the only way is to completely disable highlighting via CSS?

Thanks in advance,  
consros

---

<div class="post-metadata">

**Author:** ![consros](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@consros](https://techcommunity.softwareag.com/u/consros)\
**Post date:** [June 4, 2007, 5:57pm UTC](https://techcommunity.softwareag.com/t/disabled-button-but-still-highlighted-bug-or-feature/57633/2 "2007-06-04T17:57:57Z")

</div>

Hello,

we have received a bug report against this behaviour from customer.  
Please answer.

Thanks in advance,  
consros

---

<div class="post-metadata">

**Author:** ![Javier\_Gallego](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/javier_gallego/32/77_2.png) [@Javier\_Gallego](https://techcommunity.softwareag.com/u/Javier_Gallego)\
**Post date:** [June 13, 2007, 10:52pm UTC](https://techcommunity.softwareag.com/t/disabled-button-but-still-highlighted-bug-or-feature/57633/3 "2007-06-13T22:52:32Z")

</div>

Hi,

We are investigating this, and bring out a solution for it as soon as possible.

Kind regards,  
Javier

---

<div class="post-metadata">

**Author:** ![Martin\_Grumann](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Martin\_Grumann](https://techcommunity.softwareag.com/u/Martin_Grumann)\
**Post date:** [June 14, 2007, 11:43pm UTC](https://techcommunity.softwareag.com/t/disabled-button-but-still-highlighted-bug-or-feature/57633/4 "2007-06-14T23:43:24Z")

</div>

yep - it is not a very nice thing. Unfortunately there is no workaround. We are just preparing Update Packages for version 2.2/2.3 - available by soon (begin of next week).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:38pm UTC](https://techcommunity.softwareag.com/t/disabled-button-but-still-highlighted-bug-or-feature/57633/5 "2021-04-02T14:38:46Z")

</div>

Closed on April 2, 2021, 2:38pm UTC


