Jump to content

Set a pic control on-top


 Share

Recommended Posts

i have tried everything i can think of to set one pic on-top of the other. they were created in reverse and seem to want to display in the order created...( i could fix that ) but i will nedd to set one on top of the other later... and i dont want to "hide" the pic below

For $x = 13 To 1 Step -1
    GuiCtrlSetState($Hearts_[$x],$GUI_ENABLE + $GUI_SHOW)
    Sleep($sleeper)
    GUICtrlSetPos($Hearts_[$x],$pos_1,$pos_2,80,110)
    GuiCtrlSetState(-1,$GUI_FOCUS)
    GuiCtrlSetState($Hearts_[$x-1],$GUI_DISABLE)
    $pos_2 = $pos_2 + 20
    $pos_1 = $pos_1 + 40
    Sleep($sleeper)
Next

ideas???

thx

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

I'm not sure, but i think this is not implemented yet (I mean like putting objects in front or back)

What about recreating the picture you want in the front, delete the old one and make a new one so its in the front? but i think hiding the one in the front would be easier...

i wont post code for what i suggested since you are really a AutoIt pro ( B) )..... nah, the real reason why i don't post code is because im too lazy at 11:30pm^^

Felix N.

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