Posted: Fri Jul 19, 2013 11:01 am Post subject: ProcessMessages... How to use.
Hey all,
I have been trying to get ProcessMessages() working for a bit too long now. lol
I keep getting :
attempt to call global 'ProcessMessages' (a nil value)
I honneestly don't care about it... I really want to change the font color on my buttons when activated/deactivated in my trainer, & have it actually CHANGE! lol
This is what i'm doing now:
Code:
function CEButton8Click(sender)
control_setCaption(CETrainer_CEButton8, "SpeedHack x5")
font_setColor(CETrainer_CEButton8, clGreen)
end
Does NOTHING.
I also want the button's text to be bold, but i'm still nooby at lua's options... like clGreen for example, i don't even know if it's a valid registered color constant in lua outside of the trainer editor. _________________
Hitler... When all else fails, you'll be in the right state of mind. Jesus Saves.
I mean, once processMessages() is in the function, that error pops up when run after compile. Seems to maybe because of missing declaration, or some other thing?
Code:
And font_setColor is font class method.
No idea what that means. Remember... i said "NOOBY"
Is it a class i have to declare, or otherwise import?
Anyway... I just want the button to change color, & also go bold when activated. Not really sure processMessages() is even needed. _________________
Hitler... When all else fails, you'll be in the right state of mind. Jesus Saves.
ps: any ideas of how to set the bold thingy on a button in a lua button click event? Don't really want to start a new thread for it. Thanks again. _________________
Hitler... When all else fails, you'll be in the right state of mind. Jesus Saves.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum