我正在尝试用子窗口中的可单击链接更新父窗口中的图像。我已经用一个javascript文件预加载了父窗口中的图像。"scriptss.js“我的问题是我需要用子脚本"scriptremote.js”访问父窗口的预加载图像再次感谢所有的JS帮助!JS (scriptss.js)
var newWindow = null;
window.onload = init;
var i = 0;
image_object = new Image();
myImages = new Array(); // declare array
myImages[0]="images/img1.j
我正在使用telrik函数打开弹出窗口。在这种情况下,子弹出弹出从父弹出打开,而父弹出弹出则从祖父母.aspx页面打开。
祖父母(.aspx页面) ->弹出(父) ->弹出(子)
我想关闭父弹出和子弹出点击子弹出按钮上的弹出。我试着用
GetRadWindow().BrowserWindow.BrowserWindow.Close() // this one and variations of this errored !
GetRadWindow().BrowserWindow.close(); // this didn't error but didn'
我正在学习python和使用wxpython的GUI模型,因为我是编程新手,每次都会卡住。我的问题是我有一个图形用户界面(主窗口)与两个按钮,当用户点击button1它打开子窗口(单独的python脚本),我想关闭或销毁主窗口前打开子窗口。
self.Destroy()
subprocess.call("python newframe.py",shell=True)
#It will not close main window
我想做的错误是什么,请解释一下什么是正确的方法。
寻求建议,谢谢。对不起,我的英语不好。