I have written a gadget for myself that I hope to share soon, but it has one nagging problem I haven't figured out how to fix.
My gadget has an HTML dialog to obtain user parameters. I display the dialog with the ShowDialog function, then obtain the user values via an OnLuaButton procedure. Everything works fine, and the gadget completes what I want done, but the HTML dialog is still displayed. I have to click on the "x" at the top of the dialog to make it go away.
Is there something I can do to close the dialog after the user has entered the values and clicked on the submit button? I'd sure like to do that if possible.
Thanks in advance for your help.
Art
Gadgets ShowDialog question
-
- Posts: 5
- Joined: Fri Aug 12, 2016 8:32 pm
- Model of CNC Machine: Oliver 1013 and NWA Piranha FX
- Location: Sometimes Nebraska, sometimes California
-
- Posts: 5
- Joined: Fri Aug 12, 2016 8:32 pm
- Model of CNC Machine: Oliver 1013 and NWA Piranha FX
- Location: Sometimes Nebraska, sometimes California
Re: Gadgets ShowDialog question
Never mind, Ijust didn't understand. I didn't need a onluabutton handler at all. I willprobably be posting my gadget shortly.
- jimandi5000
- Vectric Wizard
- Posts: 1053
- Joined: Wed Mar 11, 2015 6:50 pm
- Model of CNC Machine: Home Made 60 x 120
- Location: North Houston Tx.
- Contact:
Re: Gadgets ShowDialog question
How is it the Gadget coming?
Love to see what you have come up with?
Love to see what you have come up with?
Thanks,
Jim
Jim