B
Bobby G
I have an applet that I instantiate on a web form using an
applet tag such as: <Applet> stuff in here </Applet>
Assume the name of the applet control is 'VIEWER'.
I instantiate the viewer on the webform in a client
browser window like this
var newWindow = open('webformWithViewer');
This creates the new window with the applet as expected.
I want to call a method contained in the viewer right
after I open it, such as :
var newWindow = open('webformWithViewer');
var oViewer = newWindow.Document.Applets[0];
oViewer.DoSomething();
My problem is that the viewer and/or window are not fully
instantiated yet and therefore DoSomething() fails.
How can I wait for the window and viewer to be completely
opened?
Also, is there a way to hide a window on the client?
Your help would be appreciated.
Bobby G
applet tag such as: <Applet> stuff in here </Applet>
Assume the name of the applet control is 'VIEWER'.
I instantiate the viewer on the webform in a client
browser window like this
var newWindow = open('webformWithViewer');
This creates the new window with the applet as expected.
I want to call a method contained in the viewer right
after I open it, such as :
var newWindow = open('webformWithViewer');
var oViewer = newWindow.Document.Applets[0];
oViewer.DoSomething();
My problem is that the viewer and/or window are not fully
instantiated yet and therefore DoSomething() fails.
How can I wait for the window and viewer to be completely
opened?
Also, is there a way to hide a window on the client?
Your help would be appreciated.
Bobby G