Jump to content

Autoit Create Gradient to a Control


 Share

Recommended Posts

If you mean shade the control according to a value, you could use GUICtrlSetColor and update it each time the value changes. If you want a colour gradient across the control, then no.

Problem solving step 1: Write a simple, self-contained, running, replicator of your problem.

Link to comment
Share on other sites

Renderer, If a control can be custom or owner drawn (check Microsoft documentation) you can probably also create a color gradient.

See the example for GUIRegisterMsg in the help file for an owner drawn button. I'm pretty sure that in this example you can also make a color gradient.

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...