Jump to content

Changing color of GUI pic?


KillaX
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

yes, use Guictrldelete.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...