Frozenyam Posted August 7, 2005 Share Posted August 7, 2005 Quick question. Is it possible to declare a picture as a variable WITHOUT it showing up when you run the program? "... and the Lord said to John, "Come forth and ye shall receive eternal life," but instead John came fifth and won a toaster." Link to comment Share on other sites More sharing options...
HardCopy Posted August 7, 2005 Share Posted August 7, 2005 (edited) Quick question. Is it possible to declare a picture as a variable WITHOUT it showing up when you run the program? <{POST_SNAPBACK}>Yes u can.exampleCreate Pic Hide ItWait 3 secs then show it$testbox = GUICtrlCreatePic("C:\test.jpg",200,70,200,100) GuictrlSetState($testbox,$GUI_HIDE) Sleep(3000) GuictrlSetState($testbox,$GUI_SHOW)HardCopy Edited August 7, 2005 by HardCopy Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad Link to comment Share on other sites More sharing options...
Frozenyam Posted August 8, 2005 Author Share Posted August 8, 2005 Yes u can.exampleCreate Pic Hide ItWait 3 secs then show it$testbox = GUICtrlCreatePic("C:\test.jpg",200,70,200,100) GuictrlSetState($testbox,$GUI_HIDE) Sleep(3000) GuictrlSetState($testbox,$GUI_SHOW)HardCopy<{POST_SNAPBACK}>I guess that'll do... not quite what I had in mind. Thanks though, it is of use. "... and the Lord said to John, "Come forth and ye shall receive eternal life," but instead John came fifth and won a toaster." Link to comment Share on other sites More sharing options...
HardCopy Posted August 8, 2005 Share Posted August 8, 2005 I guess that'll do... not quite what I had in mind. Thanks though, it is of use. <{POST_SNAPBACK}>What did u want to do?My example was just a quick context of declaring the pic. hiding it then showing 3 seconds later.Clarify better what you need & and i may be able to help.HardCopy Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad Link to comment Share on other sites More sharing options...
Josbe Posted August 8, 2005 Share Posted August 8, 2005 I think that he needs the same feature that I request in this topic. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now