Sign in to follow this  
Followers 0
Influx

add/remove/edit controls on past created GUIs

4 posts in this topic

Ok i have 3 GUIs created in this order

Desktop ---> Start Menu ---> Start Bar

now of course when ever i called gui control creation, edit, or deletion functions it only accesses the Start Bar like this

Desktop ---> Start Menu ---> Start Bar
                                 ^-----------------------GuiCtrl Function

Is there anyway to add/remove/edit controls on the previous GUIs like this:

Desktop ---> Start Menu ---> Start Bar
 ^------------------^---------------^-----GuiCtrl Function

Visuals are to help describe problem, as i do not know if i am properly describing it.

Share this post


Link to post
Share on other sites



Use GUISwitch.


- Table UDF - create simple data tables - Line Graph UDF GDI+ - quickly create simple line graphs with x and y axes (uses GDI+ with double buffer) - Line Graph UDF - quickly create simple line graphs with x and y axes (uses AI native graphic control) - Barcode Generator Code 128 B C - Create the 1/0 code for barcodes. - WebCam as BarCode Reader - use your webcam to read barcodes - Stereograms!!! - make your own stereograms in AutoIT - Ziggurat Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Box-Muller Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Elastic Radio Buttons - faux-gravity effects in AutoIT (from javascript)- Morse Code Generator - Generate morse code by tapping your spacebar!

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

THANKS! however lets say i have a loop and a function. the loop is editing controls on one GUI and the function on another, using guiswitch would make all commands change the same gui, i want something command specific.

Edited by Influx

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I think you might just have to keep calling the GUISwitch function.

e.g.

While 1

    GUISwitch(----switch to your GUI -----)

    GUIControlSetData(---whatever----)

    _Control_Edit()

    Sleep(100)

Wend


Func _Control_Edit()

    GUISwitch(----switch to another GUI -----)

    GUIControlSetData(---whatever----)

EndFunc

Or, even better, Don't do any control editing in the loop, just export everything to functions...that way you can just stick the switch at the top of each function.

Edited by andybiochem

- Table UDF - create simple data tables - Line Graph UDF GDI+ - quickly create simple line graphs with x and y axes (uses GDI+ with double buffer) - Line Graph UDF - quickly create simple line graphs with x and y axes (uses AI native graphic control) - Barcode Generator Code 128 B C - Create the 1/0 code for barcodes. - WebCam as BarCode Reader - use your webcam to read barcodes - Stereograms!!! - make your own stereograms in AutoIT - Ziggurat Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Box-Muller Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Elastic Radio Buttons - faux-gravity effects in AutoIT (from javascript)- Morse Code Generator - Generate morse code by tapping your spacebar!

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