Jump to content

How to change the picture in a control.. in a Gui..


Recommended Posts

I really hate to ask such a simple question... but if you cant' figure it out.. you can't figure it out..

I want to do something simple like change the image with the control update but cannot get it to work.

I tried the Set Image command but did not work.. can someone give me an example of a cmd that will work.

$n = GUICtrlCreatePic(@ScriptDir & "\image\image1.jpg", 10, 10, 310, 75)
GUISetState()
GUICtrlSetImage($n, "\image\image0.jpg")
GUISetState()

Just simply change the pix like I would change the data in a label control... routinely..

Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...