The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: netscape.public.dev.xul
From: Neil <n...@parkwaycc.co.uk>
Date: Mon, 21 Mar 2005 22:03:17 +0000
Local: Mon, Mar 21 2005 5:03 pm
Subject: Re: Retrieving values from dialog box
Matthew Gertner wrote: I have this nasty suspicion that the window.close of the dialog destroys >var dlg = window.openDialog(..., "modal"); >var result = dlg.myproperty; all of the global variables making it impossible to return a property. Generally the most convenient way is to pass input and output parameters in a JavaScript object e.g. function showDialog(aIn) { var params = { in: aIn, out: null }; window.openDialog(..., "modal", params); return params.out; } then the dialog's script would have var params = window.arguments[0]; var in = params.in; etc. -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||