From: Mike B. <mb...@Ga...> - 2003-07-23 01:01:05
|
Brad Clarke wrote: > Is there a reason the default WebWindow has an empty string for a > name? I see from experimentation that Mozilla and IE both use an empty string for the name of the initial window so most likely that was the reason. I can't remember for sure but this seems reasonable ;-) > We're looking to use the name as a way to manage concurrent windows > and I can't really decide what to do about the default window. If it > had a name of "Default Window", "Main Top Level Window", or something > of that nature the code would look a lot more explicit. The problem with these names is that this window is just the one that will be used during page load if no window was specified. You can change the current window at any time with WebClient.setCurrentWindow() so calling this the "main top level window" would be misleading. Could you create a new TopLevelWindow with a name of your choice and then use that as the current? -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |