Jump to content

add/remove/edit controls on past created GUIs


 Share

Recommended Posts

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.

Link to comment
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!
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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!
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...