Jump to content

Buttons disabled after adding background image


Go to solution Solved by FireFox,

Recommended Posts

Good day everyone! I am facing a small problem here..
I am new to autoIT and therefore I have a few questions to ask.

I have made a GUI using KODA form Designer.
I've added buttons and input boxes, then I decided to add a background image to the GUI using "Picture" from the tab "Additional", but when I did, all buttons and other GUI elements were unclickable.

Why is this?

Is there a "proper way" of adding a background image?

Thanks in advance!

Link to comment
Share on other sites

  • Solution

Hi,

If you read carefully the helpfile it's stated :

If a picture is set as a background picture, as the other controls will overlap, it is important to disable the pic control: GUICtrlSetState(-1, $GUI_DISABLE).

But there are many people like you who asked the same question so a quick forum search would have led you to the anwser ;)

Br, FireFox.

Link to comment
Share on other sites

Hi,

If you read carefully the helpfile it's stated :

But there are many people like you who asked the same question so a quick forum search would have led you to the anwser ;)

Br, FireFox.

Funny how I found that in the help file just now xD

Anyways, thanks!

I got it solved by changing the order in which the GUI elements are made :D

Since it said "Overlap" then it must have been on top..

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