Author Topic: Changing the color of a image button at runtime  (Read 4667 times)

0 Members and 1 Guest are viewing this topic.

Binky

  • Newt
  • Posts: 170
Changing the color of a image button at runtime
« on: January 29, 2008, 06:44:54 PM »
Have a dialog box that displays the color of of an object.  what I am looking to do is change the color to a new value typed in an edit box. in the dcl file I used the 'swatch' tile and gave it a key.  however when I use 'set_tile key newvalue' the swatch stays the same color and the numbers are written inside the box.

hoping it's a simple answer.

Thanks
Not so much deep in thought, rather standing on the precipice, staring longingly into the abyss.

RaKaMa

  • Mosquito
  • Posts: 3
Re: Changing the color of a image button at runtime
« Reply #1 on: June 01, 2018, 05:39:41 PM »
Although this is an old post I will suggest a possible solution just in case you are sat there, poised ready for a reply. I think you need to refill the image tile using start-image, fill image dimx dimy, end-image from an action_tile call from the other tile.
I hope this helps.