Hey All! So I bet the has already been covered but I couldn't find it, so if you know where the answer is, simply point me in the right direction!
I have a GUI with two radio check boxes, and I would like to show/hide some commands based on which radio is selected. However, I would prefer not to have to create a new GUI, or have to click the Submit button to do so. Is there a way to trigger guicontrol without submitting the gui?
Thanks!
Paul
Update Control Without having to click Submit
- PaulLeavitt
- Posts: 58
- Joined: 21 Oct 2014, 10:04
Re: Update Control Without having to click Submit
You could specify a g-label for the radio buttons. Then, in the g-label subroutine use the A_ThisLabel or GuiControlGet and GuiControl commands to modify the Gui.
Edited aprox. 4 min. after initial post.
Edited aprox. 4 min. after initial post.
- PaulLeavitt
- Posts: 58
- Joined: 21 Oct 2014, 10:04
Re: Update Control Without having to click Submit
Ah, thank you again Kon! That works great! I just had to add "Nohide" to the submit command in the subroutine. Works like a charm!
Thanks again!
Paul
Thanks again!
Paul
Who is online
Users browsing this forum: Google [Bot], mstrauss2021 and 329 guests