KillaX Posted January 24, 2008 Posted January 24, 2008 Yes, I'm a new member loving Autoit finding it VERY easy to use. But To help reduce my huge code down, is it possible to make a $Slot1 = GUICtrlCreatePic("white.jpg") (white being a photoshoped square) and be able to somehow change its color without having to remake it over and over? Right now I can just keep re-creating a gui over it, but then its not erasing the older layers under it! How can i somehow change the color of this? I mean i can make multiple jpgs of each color i need, but can i change it without re-creating the gui? like constantly change GUICtrlCreatePic($Color)? Please help
erezlevi Posted January 24, 2008 Posted January 24, 2008 Yes, I'm a new member loving Autoit finding it VERY easy to use. But To help reduce my huge code down, is it possible to make a $Slot1 = GUICtrlCreatePic("white.jpg") (white being a photoshoped square) and be able to somehow change its color without having to remake it over and over? Right now I can just keep re-creating a gui over it, but then its not erasing the older layers under it! How can i somehow change the color of this? I mean i can make multiple jpgs of each color i need, but can i change it without re-creating the gui? like constantly change GUICtrlCreatePic($Color)? Please helpyes, use Guictrldelete.
KillaX Posted January 24, 2008 Author Posted January 24, 2008 yes, use Guictrldelete.I'll give it a try, gona have to add names to my gui so it can be done. Thank you
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now