Sign in to follow this  
Followers 0
caramen

An other nooby question :D

5 posts in this topic

These line are in my script

 

Variable declaration :

$Picture = @ScriptDir & "\spyfurryMINI.jpg"

Gui Creation :

Global $Picture1 = GUICtrlCreatePic ( $Picture , 190, 10, 250, 376 )

One condition :

If $Debutscan100=100 Then



EndIf

My Question :

How can i change the picture of this gui ? "after GUI creation ... "

I mean witch line of code can i add into the condition to change the picture

wtf is this noob question :D

 

Share this post


Link to post
Share on other sites



Was alweys bad at creating GUIs from code, have you tried GuiCtrlSetData?

(not my idea, found it here: >link )

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

To update the picture after the dialog box is displayed just use GUICtrlSetImage().

Have a look at the helpfile for

GUICtrlCreatePic

there are many useful tips in the Remarks section. :)

Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites

Damn i checked but i missed that ... thx. am trying and checking marking as solved.

Share this post


Link to post
Share on other sites

My pleasure.  ;)


Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


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
Sign in to follow this  
Followers 0