dinodod Posted June 6, 2010 Share Posted June 6, 2010 Ok, in short, I have a GUI with 2 child GUI's. In my code, I want to be able to create a label in any child GUI but I don't see how to assign the label to a specific CHILD GUI. It defaults to one but I need to have it in another. Is there a way to assign a label to another child GUI?? Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007 Link to comment Share on other sites More sharing options...
Yoriz Posted June 6, 2010 Share Posted June 6, 2010 Use 'GUISwitch($ChildWinHandle)' before creating the control. GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF. Link to comment Share on other sites More sharing options...
dinodod Posted June 6, 2010 Author Share Posted June 6, 2010 Too Easy, OMG!!! Thanks a million! What projects have you made? I'd be interested if you have any big projects. Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007 Link to comment Share on other sites More sharing options...
Yoriz Posted June 6, 2010 Share Posted June 6, 2010 (edited) What projects have you made? I'd be interested if you have any big projects.Pretty much just things for around my workplace, automating software in a way that people using it wont have to know how to use it, nothing that i could really post here. Biggest one i think is the first one i done at around 4500 lines but part of the reason it so big is because it's badly written being my first .Probably the largest thing i posted in the forum could be this.I mostly just challenge myself to other peoples problems and learn from them myself . Edited June 6, 2010 by Yoriz GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF. Link to comment Share on other sites More sharing options...
CodyBarrett Posted June 8, 2010 Share Posted June 8, 2010 I mostly just challenge myself to other peoples problems and learn from them myself .its one of the ways that i've learned. [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
GEOSoft Posted June 8, 2010 Share Posted June 8, 2010 You can also just create the label in the Child window by declaring after that window is created $Frm_main = GUICreate("") ;;Create some controls $Frm_Child1 = GUICreate(........... ;;Create the controls you want appearing on this window $Frm_Child2 = GUICreate(.......... ;;Create the controls you want appearing on this window Then appropriate controls will only display when that child window is displayed with GUISetState(@SW_SHOW, child window) George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" 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