If u open child window that time parent window close?
hi to all,
if u open child window that time parent window close?
regards
welcanv
hi,
not sure what you mean here but a child window cant 'lose' its parent. If the parent dies/doesn't exist the same happens for the child.
David.
Similar Messages
-
WHEN I OPEN A URL THAT TIME WITH PAGE OPEN SHOWS PRINT OPTION AND WHEN I CLICK CLOSE BUTTON OF PRINT OPTION THAT TIME NEW WINDOW BUTTON IS CLOSED. I WANT TO CLOSE ONLY PRINT OPTION. PLEASE HELP ME...............THANKS
Many sites which offer specific "print formatted" pages do that: they assume that once you have finished with the print dialog you no longer want the page itself. So for your convenience they close it. Not so convenient for you, since you still want to view the page.
I'm not aware of an easy solution for this. I can think of a couple different approaches.
First, maybe there's an add-on to solve this? That would be easiest.
Second, maybe there's a userscript to solve this?
The Greasemonkey add-on runs userscripts which you can copy or download. Be careful to install only long-establish and trusted scripts. (''Is there a site that has this bad behavior that I can view without logging in? I will test one of my existing scripts to see whether it helps.'')
Third, Firefox has an old system for restricting site permissions in a custom text file in your profile folder (named user.js). Editing this file is a bit advanced, and I haven't been able to test it, but the system works along these lines:
<br>// Define a policy name for window.close permission
// (assumes you don't have this pref already)
user_pref("capability.policy.policynames", "nowindowclose");
// Define policy: disable sites from using window.close
// in their scripts
user_pref("capability.policy.nowindowclose.Window.close", "noAccess");
// List of sites subject to this policy
user_pref("capability.policy.nowindowclose.sites", "firstbadsite.com secondbadsite.com");
Again, I haven't tested that and recommend looking into add-ons first. -
Memory leaks during child window close
Hi All,
We have a tool that generates code for WPF application. In one of the applications WPF main window displays a child window in the form of a tab. The main window here can hold multiple child windows. I did a small test. I opened main window and
took memory snapshot with the help of .Net memory profiler. Opened child window and closed it immediately. I took snapshot again and compared with the previous one. To my surprise , many new objects/collections have been active in the heap and due to this
memory consumption got increased almost exponentially. If I open and close more and more child windows then memory consumption is keep on increasing.
During child window close , I am performing all the clean up like clearing all collections , hashmaps etc. As per the suggestions mentioned in forums , I am taking care of cleaning up all the members data like DispatcherTimer , unregistering event handlers
etc. But still memory is not being freed up even after closing the child window. As per the profiler output most of the memory has been occupied by Hashtable , Hastable.bucket[]. Profiler even reported few pinned instances as well but it looks everything is
evident from framework API not from my code. I could see styles, controltemplates , System resources etc as active and reachable objects.
I am just wondering am I getting affected by framework flaws or could there be anything I can do in my source to get rid of this memory leak. Request your comment and appreciate your help on this.
Thanks,
Brahmaji.Hi ,
Thanks for the response. Basically I first opened parent panel which is of type Window. It included menu , toolbar etc. For menu/toolbar events it opens child windows which gets displayed in main window in the form of tabs. This is my use case.
I tried the suggested profiler Redgate Ants profiler. Its very good and informative! I ran the profiler
got the following output. Though I closed the child window it seems objects are still there in memory . No where I left out string , byte array objects in my code.
Not sure why Runtimemethodinfo , hastable bucket are there in memory. I even tried the workaround mentioned at here.
I thought panel resources might have not been freed up and in my code I am clearing them as well. Still did not see much improvement. Any additional things do I need to check? Please let me know.
Thanks,
Brahmaji. -
Open dialog window closes suddenly on Illustrator and Photoshop
Hello,
open dialog window closes suddenly on Illustrator and PhotoshopPPI is the correct word for an image's resolution.
As for printing: ask the service provider what's best for their workflow. It totally depends on the process, on the hardware, on the paper and on the size of the print.
For video: use screen resolution unless you want to enlarge the footage in the video.
Additionally:
read the manual of the video software in use
read about printing:
Search for the "Creative Suite® 6 Printing Guide" in your preferred search engine. -
Open Browser Window Close Previous Window
Thanks for taking a look at my problem.
I am using Dreamweaver MX, and I have a web page where there
are several small thumbnails. When you click on a thumbnail a
larger picture opens in a seperate browser window. What I would
like to do is to have this new window display some arrows that when
clicked, cycle the to the next picture, without having to go back
to the original window to click the next picture. This I can do,
the trouble I am having is that when I click an arrow to bring up
the next picture, is there a way to make the previous browser
close. Otherwise I will have my main index page with a ton of
residual small windows all over the place.
Long story short: Is there a way to close a previous browser
window, when a new browser window is called to open?
I have some basic knowledge of web design and making a
javascript scares the life out of me. Is there a simple add on to
the "Open Browser Window" code.
Problematic
PageOr, open the new browser window with the same name as the old
one.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"nickname777" <[email protected]> wrote in
message
news:e6mr52$pgc$[email protected]..
> Thanks for taking a look at my problem.
>
> I am using Dreamweaver MX, and I have a web page where
there are several
> small
> thumbnails. When you click on a thumbnail a larger
picture opens in a
> seperate
> browser window. What I would like to do is to have this
new window display
> some
> arrows that when clicked, cycle the to the next picture,
without having to
> go
> back to the original window to click the next picture.
This I can do, the
> trouble I am having is that when I click an arrow to
bring up the next
> picture,
> is there a way to make the previous browser close.
Otherwise I will have
> my
> main index page with a ton of residual small windows all
over the place.
>
> Long story short: Is there a way to close a previous
browser window, when
> a
> new browser window is called to open?
>
> I have some basic knowledge of web design and making a
javascript scares
> the
> life out of me. Is there a simple add on to the "Open
Browser Window"
> code.
>
>
http://www.superiorcabinets.ca/Showroom_Calgary.htm
src="/webforums/forum/images/i/expressions/face-icon-small-sad.gif"
border="0">
> -
Windows shuts down my itunes evrytime I try to open it because of an error. I have unistalled and re-installed several times with the same results. HELP???
what's the error specifically
or does it say itunes has encountered a problem and needs to close because if that's the case then try these steps
-download and install quicktime at the apple website
or
http://support.apple.com/kb/TS1717 -
My plug-ins are up to date
Do you still have the default profile as listed in profiles.ini?
*http://kb.mozillazine.org/profiles.ini_file
See:
* http://kb.mozillazine.org/Recovering_a_missing_profile
* http://kb.mozillazine.org/Profile_in_use -
Open ProductionOrder Window & Close SalesOrder Window
Hi All,
After successful Addition of Sales Order, i need to open a Production Order Window and close the Sales Order Window. How do I do it with SDK? And in which event I write the code? Pls write me the code to solve this issue.
Thanks in Advance.
Kind Regards,
MurtazaHi,
U can do it on the item press after action by conditions
if(pVal.ItemUID=="1" && pVal.actionsuccess==true)
1.For Closing the sales order window ,u have
oForm.Close() //Where oForm is the instance of the sales order form.
2.For Open the Production Order Window,u have
oSboApplication.ActivateMenuItem("4369"). -
see question...
This thread has some solutions:
https://support.mozilla.org/en-US/questions/762043
The most straightforward seems to be: hold Ctrl and Left-Click on the Reload button. You could also Middle-click on the Reload button (e.g. "click" with the mouse wheel, if you have a wheel-mouse.) The thread above also has some other options.
Edit: you could also hold Ctrl and drag a tab next to itself to clone it, another suggestion from the above thread. -
Data transfer B/W parent windonw and child window with out java script
hi ,
i am using h:outputLink Tag to open child window , i am unable to pass parent window text box value to child window with out java script , Here i am using two different backing beans for parent and child windows . Plz help me .Hi -- I pass details between pages regularly. The following has worked for me:
ApplicationFactory factory = (ApplicationFactory) FactoryFinder.getFactory(FactoryFinder.APPLICATION_FACTORY);
ValueBinding binding = factory.getApplication().createValueBinding("#{beanName}");
BeanName beanProperty = (BeanName) binding.getValue(FacesContext.getCurrentInstance());
... then set the you can set the values. Can't recall if I need to use SaveStates for the items. Probably if you use request scope beans. -
How to close child windows at logout?
I was wondering how i can ensure that when a user loggs out,
any related open child windows from that session are automaticaaly
closed. The Application is written in ASP VBscript.
Basically the user can logout two ways, either by clicking on
the logout link or by closing the browser window. For the latter
what i did was to create an even for the "onUnload" event of the
browser. So when the user closes the window, it will also logg the
user out.
Now i also wanted to automatically close any child windows
that the user may have opened when he either loggs out or closes
the browser window. How can I accomplish that without prompting the
user that the window is about to close?
B.T.W. I use the
window.open method to open the child windows, using either
javascript or vbscript.Hi, I have no idea how to do this is JSP.
However createing a modal window (with javascript) would mean that the user can not use the parent window untill he closes the child window. However not sure if this is what you are searching.
Otherwise you can detect the onClose (I think) and close the window from there.
However both the above are JavaScript and not JSP.
rwgards,
sim085 -
Open new window in the same Window
Im developing a project in JavaFX where I wish to open the new window in the same window
Here is my code :
Stage st=(Stage)((Node)t.getSource()).getScene().getWindow();
I tried this but its giving an exceptionIt is possible to specifiy a named window instead of _blank.
So you could use the following instead:
web.show_document('html/hello.htm','my_window');
where my_window can be anything you want to call that browser window.
However, I have discovered that if you put this in a button trigger, the second time you press the button (if the window is still open) it will not take focus - ie. it remains in the background.
You can get around this by closing the window if it is already open:
web.show_document('html/close.htm','my_window');
web.show_document('html/hello.htm','my_window');
The close.htm needs to contain some javascript to close the window:
<html>
<body onload="closeit()">
<script>
function closeit()
window.opener = top;
window.close();
</script>
</body>
</html>
Apparently XP SP2 is a little stricter with javascript and may not allow this. Also, not sure if this works in all browsers, I only tried IE6. -
Long time to open workbook for first time
Hi,
I have a workbook with three queries . Performance of workbook is good when it was created for first time. It has additional 22 sheets with formulas and other sheets with values based on query sheets.
The problem starts after I close the existing session and open in another session when it takes 15 to 20 minutes to come up.But after that the book is slow even for single click button action.
Version of analysis 1.4.6
Win 7(64 bit)
Ms office 2010(32 bit)
Refresh on opening is disabled.
Few thing which I did:
>> I opened up task manager and did analyze wait chain, I found that excel.exe is waiting for splwow64.exe process.
>> I enabled logging at "debugging information" in support setting for workbook and checked things out in log file.
Found that
There was warning "AddSerializer failed (Command processors not initialized)
Looking at log file for events when book took time to open, I found that time stamp gap between following events"
-verbose: Working mode as serialized in document:'Local'
-verbose: Successfully deserialized system info from workbook XML
- verbose: ...its logs various properties of queries like query name,id etc"
and its immediate previous event of cache formula string is 20 mins.
>> in another session I opened a workbook with normal performance.Found above mentioned warning message and deserialization... information.
the difference in this case is that there is not delay in events.
Has anybody faced this issue? Any idea on deserialization of workbook xml in analysis.
Any idea where is metadata saved in analysis. is it in form of some hidden script object just as in BEx 7.0
Thanks
Pramod.Hi Pramod,
Since you have several sheets in this workbook, have you checked the number of custom styles?
Please check the SAP note http://service.sap.com/sap/support/notes/1899658
According to the note, too many styles slow down Analysis for Office.
The note also contains a macro that you can run on your workbook to delete the custom styles if you want to check.
Regards,
Filipe -
Window.open always opens a child window with parent window propertiesin firefox 30
By clicking on a link my code uses window.open which should open the response in child window. I am not specifying any height and width(as per requirement). In firefox alone, the window takes up the properties of child window and opens with same size as of parent window. Is there a way to restrict Firefox from inheriting the properties of parent window?
Hi prajulakc,
Thank you for your question. Currently the active window selected when you create a new window that new window will take the active window's screensize.
You can add a preference: see also [https://support.mozilla.org/en-US/questions/754273 question/754273] -
Keep child window open while Parent window got focus
Hello,
In my applet i invoke the window using the JPanel.it's my parents window.
to do some other task i m opening the other window called it "Child window".
my problem is that when i m click on the parent window.the child window is invisible. i want my child window is still open while parent window is activated.
just like when we open find dialog in eclipse editor,it show that find dialog untill we manually close it.
can any one give me the solution on how to visible the child window while parents window is activated.
child window is open through JDialog.
Regards,
Sonal.ya you r right..Child window is still visible bt it's
behind browser.
i want that dialoge will be visible in front of the
parant window.not behind parent window,while my
parent window is activated.
so canu plz tell me the way to do it??Try to call
public final void setAlwaysOnTop(boolean alwaysOnTop)
Maybe you are looking for
-
Print statement in JSP page after redirection
Hi, I have written a JSP page and in that i am redirecting it to another page. Now after redirection i am printing a statement on the console. It is getting printed whereas when i am printing the same on the browser i am not able to print that. Pleas
-
I want to edit some words in it
I have a fully PDF files. It contains text but, I want to edit some words in it. So I want to Convert it in doc. Format and changes these words. Is there are any sites where I can convert it?
-
How to view the OM infotypes number
Hi Experts, How and where can i see the infotype number in OM? Regards TS
-
Upgrade 4.6C to ECC 6.0 - Key figures missing in Treasury drill down report
Hello experts, We have upgraded from SAP version 4.6C to ECC 6.0. Due to this fact, we have converted all the TR-TM and TR-LO master data and transaccional data, using TPM_MIGRATION. However, when we start the tests in the system, we have noticed tha
-
Hi Experts, We maintain QM operations in the Master recipe along with PP operations. In my scenario - operations are maitained in following order 1)QM operation 1 2)PP operation 1 3)QM operation 2 4)QM operation 3 5)PP operation 2 Now untill and unle