Window widget problems
Dee Gould <[email protected]> Fri, 19 Sep 2003 10:03:12 -0700
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <[email protected]> |
I am having problems with the netWindows widget after 'removing' it from
the screen. Once the widget has been removed from the screen, events
that are associated with the elements within the window still fire.
This is causing some major headaches and needs to be solved.
Here's how we create the window:
_nwLineItems = NW_WIDGET_FACTORY_window("Invoice Line Items", 100,
100, 390, 300);
document.body.appendChild(_nwLineItems.domNode);
__env__.addToPageQueue( "<our page>",
_nwLineItems.contentObj.contentNode, false,
_invoiceItem = new InvoiceItem(_drs,
_nwLineItems, insertItemClosed, this), "constructor");
and to 'close' the dialog from within the _invoiceItem, we:
_dialog.remove();
( where _dialog is a reference to the window widget )
Is there some other call we are to make to properly remove the window
and the events?
Thanks for your help!
Deanna Gould
_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org