Figured out how to load a gcode file with wx.widgets and it shows up in the other gcode windows on the stock tabs in Mach4-Mill. However, when I add a gcode window to the tab I have created, the window is loaded with the code from the file but when I either hit the cycle start button or try to program a cycle start, it says nothing to run. When I switch to another tab, the gcode is properly listed and will run with cycle start. How do I link the new gcode window to the loaded code? I cannot see any difference on the lua scripts or the properties of the other gcode windows. Seems odd that is would not work. I see the Lua code necessary to make an MDI window run code, but is there something not stated that I have not done?
Thanks
Keith