TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Visual DCL Programming => Topic started by: Binky on January 29, 2008, 06:44:54 PM

Title: Changing the color of a image button at runtime
Post by: Binky 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
Title: Re: Changing the color of a image button at runtime
Post by: RaKaMa 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.