# On click of a button, and selecting a colour, change the button (object)!?

**URL:** <https://forum.kirupa.com/t/on-click-of-a-button-and-selecting-a-colour-change-the-button-object/111998>\
**Category:** Uncategorized\
**Created:** [June 2, 2004, 1:48pm UTC](https://forum.kirupa.com/t/on-click-of-a-button-and-selecting-a-colour-change-the-button-object/111998 "2004-06-02T13:48:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trevorsaint](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trevorsaint/32/268_2.png) [@trevorsaint](https://forum.kirupa.com/u/trevorsaint)\
**Post date:** [June 2, 2004, 1:48pm UTC](https://forum.kirupa.com/t/on-click-of-a-button-and-selecting-a-colour-change-the-button-object/111998/1 "2004-06-02T13:48:27Z")

</div>

is there any way that, I can have buttons on the map, as it currently stands and after clicking on a particular button, from a colour key below, change the object from the green button to the alternative button, I.e I will have a key with three colours. The three colours will be a choice of three buttons.

So when the client say clicks on cw1 button, and then clicks a colour, the button instance will change, to say the green button, red or purple button?

Any ideas for this process, examples of such an event would be cool.

Cheers

Trev  
:toad:
