Refreshing a frame?
I'm trying to write a routine that makes a simple box on the screen. Based on a conditional statement, I would like to change the background color of the box and have it refresh.
I have everything written and it makes sense, except for the "refresh" part. I can't find how to do this. Can anyone lend a hand? Here's a few of the pieces, and thanks in advance! Code:
local context=UI.CreateContext("myWindowFrame") |
Not sure you need to do anything. I just plugged your code in and added the following line only to trigger the change:
bigBox.Event.LeftClick = function() changemyColor("whatever") end Now when you click the box, it turns the top left quad red. Is that what you are attempting? Code:
local context=UI.CreateContext("myWindowFrame") |
All times are GMT -6. The time now is 03:11 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2022 MMOUI