• RELEVANCY SCORE 3.84

    DB:3.84:How To Close A Window By Clicking The Button Using Mvvm az





    Hi,
    I have a button in my window. I want to close the window by clicking the button. How to do this using MVVM.
    Thanks

    DB:3.84:How To Close A Window By Clicking The Button Using Mvvm az

    Hi,
    I got it figured out using thisLink.
    Any ways thanks guys for your support.
    Thanks

  • RELEVANCY SCORE 3.81

    DB:3.81:Closing A Document Window Clicking On 'X' xx





    How can I code to allow for the user to close the pop-up window
    by clicking on the window's 'X' icon on the upper right corner of
    the window? The window will disappear if I click outside the
    window but it would be much nicer if the close window icon
    'X' worked.... The minimize option does work, just not the close
    option.

    Thanks,
    Nancy

    DB:3.81:Closing A Document Window Clicking On 'X' xx

    great nancy....i did not notice it was a pop up window ...i
    taught it was the main window.

    good.

  • RELEVANCY SCORE 3.79

    DB:3.79:Closing A Window 39





    I have an application in which upon clicking a certain button in the interface it brings up another JFrame window. I want to be able to close this new window upon clicking the 'ok' button, but I don't want to close the whole application. How do you do that?

    Thanks.

    DB:3.79:Closing A Window 39

    Here is an example. You would use frame.dispose instead of System.exit().

    http://forum.java.sun.com/thread.jspa?forumID=57threadID=695964

  • RELEVANCY SCORE 3.75

    DB:3.75:How To Close The Main Window From Popup f1



    hello all,

    i need to close the main window from a popup, so i create a popup and after clicking on close button of this popup, should also the main window be closed.

    how can do this please?

    BR

    DB:3.75:How To Close The Main Window From Popup f1


    Hello,

    the problem is, that i am alawys getting another popup over may popup after clicking on the close button, how can I close my MAIN Window from my popup without getting any extra popup?

    BR

  • RELEVANCY SCORE 3.71

    DB:3.71:When I Open A Pdf File, Firefox Opens A Blank Window, Then The File Opens In A Adobe Reader Window. How Can I Stop The Blank Window? 3m



    Whether I am using Firefox 3.6.8 or Thunderbird 3.0.6, clicking on a pdf file opens a new window. After a few seconds the pdf file opens in a separate Adobe Reader window. When I am done with that and close it, I still have to go back and close out the blank window. Got to be a configuration issue some place. I have tried several settings under Tools/Options, but haven't found the right setting yet. Any suggestions?

    DB:3.71:When I Open A Pdf File, Firefox Opens A Blank Window, Then The File Opens In A Adobe Reader Window. How Can I Stop The Blank Window? 3m



    I'm with robk1w1. That is the problem I am having - an extra click to close a blank page after downloading a document. FF did not used to do this. Very irritating. Might go back to Chrome.

  • RELEVANCY SCORE 3.67

    DB:3.67:[Solved] Cannot Switch Focus With Mouse 9z



    Ive encountered this situation for a few days. Its so strange.

    If a window is newly created by any application(gnome-terminal/google-chrome/pidgin/...), and after clicking the content in that window, the focus point is fixed at that window. I cannot use mouse to switch the focus point. But it works when I use alt-tab to switch. Even worse is that I cannot move nor close the window. I can only use alt-f4 or something else to close that window.After closing that window, everything seems normal after I click the content of another window, the problem occurs again.

    Please point out which terminology is not suitable, since Im not a GUI developer.

    Im waiting for anyone knows what the problem is, how to examine this problem, and any thoughts on solving it.

    Last edited by gombiuda (2013-02-01 07:42:32)

    DB:3.67:[Solved] Cannot Switch Focus With Mouse 9z


    Update:This problem is solved.An unused mouse was placed under the screen and its right button was pressed by the power line.After I remove that mouse, everything returns to normal.Sorry for my bothering.

  • RELEVANCY SCORE 3.62

    DB:3.62:Window Closing jj


    I have a second level Frame(Frame2) that pops up after
    clicking a button(button1) on top level Frame(Frame1).
    Is there a way to close only the Frame2 by clicking
    a button(button2) on Frame2.

    DB:3.62:Window Closing jj

    Hi,

    do something like this where you instantiate the JButton (assuming you do it in a method of your Frame2 and Frame2 is a JFrame-subclass):

    final JFrame thisframe = this;
    JButton closeButton = new JButton(new AbstractAction("close") {
    public void actionPerformed(ActionEvent e) {
    dispatchEvent(new WindowEvent(thisframe,WindowEvent.WINDOW_CLOSING));
    }
    });

    the default close operation is HIDE_ON_CLOSE - so the frame will be hidden after all listeners have recieved the WINDOW_CLOSING event. If you want it to hide and dispose when closed, use setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE).

    greetings Marsian

  • RELEVANCY SCORE 3.59

    DB:3.59:How Do I Make A Draggable Window Without A Toolbar? js


    I have a LabVIEW window that doesn't have a toolbar, but I'd like to make the window draggable, either by clicking the background and dragging it, or by clicking some control. Is this possible in LabVIEW?

    DB:3.59:How Do I Make A Draggable Window Without A Toolbar? js


    Mike,

    Thanks. I was hoping that there was an option in LabVIEW that I had missed that would make it easy, but your method sounds good, so I'll try that. Thanks for your help!

    Anil

  • RELEVANCY SCORE 3.55

    DB:3.55:Cant Close Window (Not Tab) With Cmd+W On Mac Version Of Firefox 7.0.1 And Firefox 8.0 ms



    i noticed that firefox can't no longer closed an opened window using "cmd"+"w" since version 7.0.1. i have to close the window by clicking the "x" button on the upper left corner instead. i just updated to version 8 today and the problem still existed. it has never happened in previous version.

    this is quite annoying especially for pop-ups.

    is it a bug or a newly added feature? how can i restore it to the way it was?

    thanks

  • RELEVANCY SCORE 3.54

    DB:3.54:Don't Show The Window That Asks If I Want Save 1c



    Hello to all.

    I created, from a PDF file, a form that I use only for printing. When I close the PDF file (by clicking in the X on the top of the main window) I don't want the annoying popup window that asks me if I want save the PDF. How can I do?*

    Thanks

    DB:3.54:Don't Show The Window That Asks If I Want Save 1c


    After changing the form set the dirty flag of the document to false:

    this.dirty = false;

  • RELEVANCY SCORE 3.49

    DB:3.49:Chooser Window Too Small - Can't See Icons! ka


    Hello. On a PowerMac G4 system running OS 9.2, a problem just began to happen: When the user attempts to open the Chooser, a TINY window appears (only the 'close' button is visible) and the window cannot be resized. There is no way to access the Chooser items/select printer/etc... How can I fix this problem: i.e. resize the Chooser window to the correct size? I can MOVE the window by dragging it, but I cannot RESIZE the window by placing the mouse on the window's corners. I can also CLOSE the window by clicking the close button.

    Any help would be greatly appreciated!

    DB:3.49:Chooser Window Too Small - Can't See Icons! ka

    Thank you for this information!!!

    Does anyone else have any comments on this issue?

  • RELEVANCY SCORE 3.49

    DB:3.49:Closing A Frame dj


    I am new to java and am having a problem building a gui using awt.
    I have two classes FrameA and FrameB for example (both extending Frame)
    I create a new instance of FrameB from within Frame A by clicking a button, So a new window opens.
    The trouble is how do I close it again by clicking on another button.

    public void actionPerformed(ActionEvent ae) {
    if ((ae.getActionCommand()).equals("Button Close")){
    ?????????????????????
    }

    Any help with this would be great.
    cheers

    DB:3.49:Closing A Frame dj

    hi..

    public void actionPerformed(ActionEvent ae) {
    if ((ae.getActionCommand()).equals("Button Close")){

    //try with this
    //suppose instant of FrameB is frameB
    frameB.dispose();
    }

    byeeee

  • RELEVANCY SCORE 3.46

    DB:3.46:How To Handle Window Controls Like Minimize,Close And Move 3x


    Hello,

    I have created a javaFx page with stage style as 'style:StageStyle.TRANSPARENT'

    Now,there are no window controls of close,minimize,move available.I want to add my images for such event and handle them myself. ie, i want to minimize the page by clicking my button.

    Can i do this?
    if yes,then how?

    Thanks to reply

    Anuj

  • RELEVANCY SCORE 3.45

    DB:3.45:Close Awt Window By Clickin On Cross af


    hi java world out there...i ve made my first program of java ever..but i dont know how to close it by clicking on the cross in the upper right hand corner of the window...
    any one plese tell me the code...
    thanaks

    pinky

    DB:3.45:Close Awt Window By Clickin On Cross af

    thanks:)
    it worked...
    i ve developed a basic bank application
    wud u like to c??

  • RELEVANCY SCORE 3.43

    DB:3.43:How Do I Close A Popup Window From My Main Window pd



    Consider i have two mxml file one is the

    Main.mxml

    PopupTitlewindow.mxml

    I am opening a title window from my Main.mxml by using

    PopUpManager.createPopUp(this,PopupTitlewindow,true);

    I want to close the popup window from my Main.mxml not from PopupTitlewindow.mxml .How to do it ?

    Regards,

    Rahul.

    DB:3.43:How Do I Close A Popup Window From My Main Window pd

    ?xml version="1.0"?!-- containers\layouts\MainMyLoginFormRemove.mxml --mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" mx:Script ![CDATA[ import mx.managers.PopUpManager; import myComponents.MyLoginForm; import mx.core.IFlexDisplayObject; private var helpWindow:IFlexDisplayObject; private function showLogin():void { // Create the TitleWindow container. helpWindow = PopUpManager.createPopUp(this, MyLoginForm, false); } private function removeForm():void { PopUpManager.removePopUp(helpWindow); } ]] /mx:Script mx:VBox width="300" height="300" mx:Button click="showLogin();" label="Login"/ mx:Button id="b2" label="Remove Form" click="removeForm();"/ /mx:VBoxGuys sorry i got the solution for the problem i posted .Regards,rahul./mx:Application

  • RELEVANCY SCORE 3.41

    DB:3.41:Black Window Wont Close And Stays On Desktop Screen 7k


    I have a window that I cant close, clicking on the x nor right clicking on mouse(close window) the window stays on my desktop and Is a black screen. How can i get rid of it?

    DB:3.41:Black Window Wont Close And Stays On Desktop Screen 7k

    The window has no title?
    If you boot into safe mode is it still there?
    You've scanned your PC for virus and malware infections?

  • RELEVANCY SCORE 3.39

    DB:3.39:Custom Application Starts, But With Conversation Window mc


    Hello =)
    i have an application that starts on right click on a contact in the messener window. this works fine. but if there is no opend conversation window, it opens one by clicking to start the app. how can i supress this? closing the window is not what i want,
    because i dont want to close allready opened conversations...

    any idea?

    regards
    .A

    DB:3.39:Custom Application Starts, But With Conversation Window mc

    Hello =)
    i have an application that starts on right click on a contact in the messener window. this works fine. but if there is no opend conversation window, it opens one by clicking to start the app. how can i supress this? closing the window is not what i want,
    because i dont want to close allready opened conversations...

    any idea?

    regards
    .A

  • RELEVANCY SCORE 3.36

    DB:3.36:Shop Again Link Should Not Open A New Window x9



    Hello,

    since SRM 7 the "Shop Again" Link in Step 4 of creating a shopping cart opens a new window and do not close the old window.

    We want that the window with the shop again link should close automaticaly when clicking or the instead of a new window shoud the window open in the same window.

    Do anyone know a tutorial to solve this?

    I tried to build within the view component a close window plug but that don't work. I think the reason is the floor plan manager there.

    I know there is close button within in the floor plan but how can I fire the close event of the floor plan when clicking on a button or link within the view ????

    Or how can we change the shop again link that the new window opens in the same window instead?

    Hope someone has an Idea.

    I don't know much about floor plan to fix this by myself.

    Kind Regards

    Rico

    DB:3.36:Shop Again Link Should Not Open A New Window x9


    Hello,

    since SRM 7 the "Shop Again" Link in Step 4 of creating a shopping cart opens a new window and do not close the old window.

    We want that the window with the shop again link should close automaticaly when clicking or the instead of a new window shoud the window open in the same window.

    Do anyone know a tutorial to solve this?

    I tried to build within the view component a close window plug but that don't work. I think the reason is the floor plan manager there.

    I know there is close button within in the floor plan but how can I fire the close event of the floor plan when clicking on a button or link within the view ????

    Or how can we change the shop again link that the new window opens in the same window instead?

    Hope someone has an Idea.

    I don't know much about floor plan to fix this by myself.

    Kind Regards

    Rico

  • RELEVANCY SCORE 3.34

    DB:3.34:Closing Stream fx


    when I close an application (by typing ctrl-C on console or clicking "X" on window application), does all opened stream get close automatically?

    if it's not, I can close the streaming in window application using the window listener, but how can I do it on console application?

    Susilo

    DB:3.34:Closing Stream fx

    There exists some relying on the operating system/library to close things, when the application closes.
    Of course you should nevertheless program things well-behaved.
    In a console application place a try catch InterruptedException at the top I/O level.

  • RELEVANCY SCORE 3.34

    DB:3.34:Dual Screens sk



    Hi,

    I have two screens. If I open the Organize window and maximise it on the second screen most of the Organise window disappears off the screen and I have to close it by right clicking on the start bar. Is this a known issue and is there a fix?

    Cheers, Jamie

    DB:3.34:Dual Screens sk


    Video: http://www.youtube.com/watch?v=BvsQ2m18WQs

  • RELEVANCY SCORE 3.33

    DB:3.33:How To Close An Applet fp


    Hi i am developing a little applet and i need to close it by clicking on a button, i have redefined "destroy" method because i need to do something when someone click on the X part of the applet so i don't know how to destroy the applet clicking the button.

    Thanks.

    DB:3.33:How To Close An Applet fp

    Applets are not like applications...you don't kill them (though applet.stop() is called automatically at some point...)....you either see them (they run), or you dont (the wait)....

  • RELEVANCY SCORE 3.32

    DB:3.32:Help, I Can't Close The Skype Window! 9s



    In 5.5.0.124, I can't figure out how to close the Skype window! Clicking Close just minimizes it. I've had to resort to the Task Manager to get rid of it, which is ridiculous. I must be missing something.

    DB:3.32:Help, I Can't Close The Skype Window! 9s


    Why can't I close Skype on my Mac?? i click on the red close icon, and it won't work, i just get a 'beep'. Under the skype menu, the quit skype selection is grey, so not an option. i cannot change my status from online to off-line. i cannot answer a call !!! worst of all, i cannot close my computer down as it keeps asking me to quit the skype application - and i cannot. Aaaaaaaah, tearing my hair out here.

  • RELEVANCY SCORE 3.32

    DB:3.32:Action On Clicking A "Close" Button. sa


    Hi,
    I am fairly new to Java swing... I was hoping if someone could please let me know as to how to I handle an event on clicking a separate button labeled "CLOSE". I want the window to totally close on doing so.
    Thanks.

  • RELEVANCY SCORE 3.32

    DB:3.32:Task Pane Question m7


    How do you close or exit out of the task pane window to display all the task panes after clicking one? For example, after adding new text fields to a form, the "Forms" menu is the only task pane visible. I'd like to close this and see all the available tools. Thanks,Scott

  • RELEVANCY SCORE 3.31

    DB:3.31:Event Handler For Window Close xf


    We have a Visual Studio 2010 menu addin. On clicking the menu, we load a window (EnvDTE.Window) with a user control. I need to know when the window is closed by the user by clicking on the X button. How do I capture this event?

    DB:3.31:Event Handler For Window Close xf

    Hi Shilpa,
    What program is your user control, is it a winform?
    Can we set some event from your user control?
    Or is it a toolwindow?
    If yes, you can refer to the thread as following below:
    http://social.msdn.microsoft.com/forums/en-us/vsx/thread/66E6D99E-DC39-4984-B8AF-9F528F9F9042
    Best regards,Ego [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 3.30

    DB:3.30:Exit Of Modal Windows cj


    How to exit modal window in multiple window by clicking on close icon in window.
    I don't want to use push button to hide the window.

    DB:3.30:Exit Of Modal Windows cj

    HI, All
    i have a small investigation with your issue and after searching for possible way to close the model window , i found that there is almost no way to use anything like close_window , the only way is to close it
    1) either to use a push button and navigate to parent window by using the following code example
    ------------be sure to navigate for item in next block--------------------
    show_window('WINDOW5');
    go_item('TEXT_ITEM7');
    hide_window('WINDOW1');
    --------------------------------------------------
    2) or you may use the WHEN-WINDOW-CLOSED at form level
    using the following sample of code

    --------------------------------
    DECLARE
    WND VARCHAR2(50):=GET_VIEW_PROPERTY(GET_ITEM_PROPERTY(:SYSTEM.CURSOR_ITEM, ITEM_CANVAS),WINDOW_NAME);

    BEGIN
    IF (WND='WINDOW5')THEN
    NULL;
    ELSIF (WND='WINDOW1') THEN
    show_window('WINDOW5');
    go_item('TEXT_ITEM7');
    hide_window('WINDOW1');
    END IF;
    END ;
    -------------------------------------------------------------------------------

    i hope those piece of code samples could be clear and helpfull enough to do the speciefied task

    Regards
    Omar

  • RELEVANCY SCORE 3.30

    DB:3.30:Question On Jframe, Help Me Plzzzzzzz!!! 38


    Hi my friend:
    I need your help on JFrame urgently. As we know, we close a JFrame by clicking the close button on the window title pane. Now I want to change this default for my JFrame. So that when someone click the close button, an Joptionpane is pop out to confirm the closing action. The JFrame will only be closed by clicking the "OK" button on the Joptionpane. If click cancel, optionpane disappear. How to do this? Pls guide me.

    DB:3.30:Question On Jframe, Help Me Plzzzzzzz!!! 38

    close a JFrame by clicking the close button on the
    window title pane. Now I want to change this default
    for my JFrame. 1) http://java.sun.com/j2se/1.3/docs/api/javax/swing/JFrame.html#setDefaultCloseOperation(int)

    So that when someone click the close
    button, an Joptionpane is pop out to confirm the
    closing action. The JFrame will only be closed by
    clicking the "OK" button on the Joptionpane. If click
    cancel, optionpane disappear.2)
    if(JOptionPane.showConfirmDialog(JFrame.this,"Really close?","Confirm Window Closing", JOptionPane.YES_NO_CANCEL_OPTION)==?){

    //do something...

    }the ? means you can figure it out yourself with the documentation...

    http://java.sun.com/j2se/1.3/docs/api/javax/swing/JOptionPane.html

  • RELEVANCY SCORE 3.28

    DB:3.28:Closing A Messagedialog When Clicking Outside Of The Dialog? 1f


    How can we capture the event of a user clicking outside the bounds of the MessageDialog control in order to tell the window to close?

    DB:3.28:Closing A Messagedialog When Clicking Outside Of The Dialog? 1f

    Hi Jaxim,
    I don't think we can implement this feature because the the dialog dims the screen behind it and blocks touch events from passing to the app's canvas until the user responds. That means our click event on the screen will not fire any event and we could not
    close the MessageDialog.
    However you could try with a Flyout control which accept click outside close, see more information for Flyout:

    Quickstart: Adding a Flyout.
    --JamesTHE CONTENT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED
    Thanks
    MSDN Community Support

    Please remember to Mark as Answer the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • RELEVANCY SCORE 3.27

    DB:3.27:Popup Window Data To Putback To Parent Component fz



    Hi Experts, I'm trying to figure out how when the "select records from popup result list", in the window that has popped up from clicking on a link in the original window, to get it to close the popped up window and send the results of the form submit to the parent assignment block AccountContactsOV.. BP_DATA/AccountContactsOV parent window BP_CONT_SEARCH/SearchHelpResult (Popup result window. How to achive this ?

  • RELEVANCY SCORE 3.27

    DB:3.27:How To Close The Window From Alert Message In Crm ? 8c


    Hi,
    I need to close the window by clicking on the OK button of alert message.
    Any help greatly appreciated...

    Thanks
    Srikanth Reddy

    DB:3.27:How To Close The Window From Alert Message In Crm ? 8c

    you can close window using below code
    window.close();
    crmForm.detachCloseAlert();
    But i am sure you want to give user a choice to user refer
    http://www.w3schools.com/JS/js_popup.asp
    Let us know if you need any other informationMahain : My Dynamics CRM Blog

  • RELEVANCY SCORE 3.27

    DB:3.27:Shortcut To Close Multiple Folders In List View 9d


    In the Finder, in list view, I have multiple folders open (using the triangle by the Folder name). I'd like to be able to close all the open folders at once. I know that holding Option while clicking the red Close button on a window will close multiple windows and I want to do something similar with the folders.I'm sure I knew how to do this once but can't remember now.Thanks,Steve

    DB:3.27:Shortcut To Close Multiple Folders In List View 9d

    The left arrow tip worked for me. The Cmd click didn't. Thanks.

  • RELEVANCY SCORE 3.26

    DB:3.26:How To Close A Dailog Window am


    In my program . I create a main window extends from Frame first and add a button on the main Frame.When clicking the button the main window creates a dialog window
    I don't know how to close the dailog window but not close the main Frame window

    DB:3.26:How To Close A Dailog Window am

    It depends on what you really want show/hide will work just fine if you plan to use the dialog alot or else just placa button in the dialog (such as OK) that sets it to false and then set the dialog variable to null and garbage collect it until you need it later then when you click your first button the dialog pops up good as new...just some thoughs

  • RELEVANCY SCORE 3.26

    DB:3.26:Internet Explorer 9 Popup Window - Asks If I Want To Close The Current Tab Or All Tabs Within The Window 8p


    Recently when click to eleminate window in ie9 a popup window appears asking to choose between current or all windows. Can anyone tell me how to get rid of this window and go back to simply clicking it off.

    DB:3.26:Internet Explorer 9 Popup Window - Asks If I Want To Close The Current Tab Or All Tabs Within The Window 8p

    Hi

    Glad to know that issue is fixed and thank you for sharing the information. Feel free to contact us back, in case you face any other issues with windows in future.

  • RELEVANCY SCORE 3.26

    DB:3.26:Close Window az



    Hi, my question is how can I to close a windows "without" close the main window?

    I try using close();, hiding the window, sending the [ESC] key but this close the parent window.

    Thanks.

    DB:3.26:Close Window az


    Hi,

    Has your problem solved? Please close the thread.

    Beni.

  • RELEVANCY SCORE 3.26

    DB:3.26:Very Annoying Window At Bottom Of Page xm


    Every time i open a new web page on my computer i get a window which says 'this webpage wants to run the following add-on "Adobe Flash Player" from "Adobe Systems Incorporated". It appears to be meaningless because whether I accept or close the window by clicking on the X i get the same result.please tell me how to stop this very annoying window from opening all of the time. Sometimes it opens multiple times on the same web page.

    DB:3.26:Very Annoying Window At Bottom Of Page xm

    See: Enabling Flash Player in Internet ExplorerOnce you have it enabled by default the message should go away.

  • RELEVANCY SCORE 3.25

    DB:3.25:Closing Of Window 8s


    How do I close the first window after activating my second window by clicking on the button?

    Thanks

    DB:3.25:Closing Of Window 8s


    System.exit(0);Focus please. This will exit the app, and the OP just wants to kill a frame. The suggestions given before are correct.

  • RELEVANCY SCORE 3.24

    DB:3.24:Deactivate Closeall Button So Clicking One Close Button Closes Just That Window, Not All Windows x3


    I have inadvertently set the close button at the top right of open pages to become a Close Allbutton when I click on it. Now ALLpages close instead of just the window I want to close. How do I reverse that so clicking on the close button returns
    once again to simply closing one window at a time? I have IE7 and Windows Vista.

  • RELEVANCY SCORE 3.24

    DB:3.24:How To Be Selective How A Window Is Closed sz


    I am making a MDI application in C#. On startup, 2 MDI childs get opened, and some event handlers are created that I use for communication between the parent form and his 2 childs.
    I want the user to be able to move the childs, but not resize it, so I chose FixedToolWindow for FormBorderStyle. I have one problem: FixedToolWindows have a X to close the form and I don't want the user to close one of those forms.
    So, I added a handler to the Closing-event of the form (e.Cancel = true;), but then I can't close the main window, since the child windows can't be closed...
    My question: is there a way that the user can't close it by clicking the X, but that my main window can still be closed.

    DB:3.24:How To Be Selective How A Window Is Closed sz

    Hi Lioth2,
    Adavesh's suggestion is great.
    Since you don't want to the user be able to resize or close the form, why not set theForm.ControlBox Property to false.
    private void toolStripButton1_Click(object sender, EventArgs e)
    {
    Form f = new Form();
    f.Text = Test;
    f.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
    f.ControlBox = false;
    f.MdiParent = this;
    f.Show();
    }

    Best Regards,Bob Wu [MSFT]
    MSDN Community Support | Feedback to us

  • RELEVANCY SCORE 3.24

    DB:3.24:Panel Close zc



    Hi

    I have a vi running.In the front panel if i close the Vi by clicking right top corner red X closing option it should ask for option to close the Vi or not if i give yes it should close if i give no it should not close the vi.ultimately user need to take the control to close or not after clicking the window close button

  • RELEVANCY SCORE 3.23

    DB:3.23:Managing Windows cj


    --
    In my forms application I open a new window by clicking on a
    button; in this nwe window there can be records displayed but it
    is also possible that there are no records displayed and that I
    want to close the window again; but here comes the problem - when
    I try to close the window without displaying any records nothing
    happens, I have to press F8 to execute a query and then I can
    close the window.

    Does somebody know why this happens?
    Thanks a lot!
    null

    DB:3.23:Managing Windows cj

    --
    I checked it and I'm not in enter-query mode, the mode is normal,
    but it doesn't work.
    null

  • RELEVANCY SCORE 3.23

    DB:3.23:Close A Wpf User Control a1


    Hi,
    I'd like to close a user control by clicking on a button from the usercontrol.
    If it would be a window i would write: Window.close();
    but i guess its not that simple when it comes to usercontrols.
    any ideas??
    Thanks.

  • RELEVANCY SCORE 3.23

    DB:3.23:Close Dialog Window By Clicking On 'X' c7


    Hi

    I am displaying a dialog window that allows the user to modify data.
    When the user clicks on the 'Cancel' button I have placed on the window, the action code fires and the return listener fires.

    I have added some java script that executes the following command when the user closes the dialog by clicking on the close icon.
    submitForm("groupCaptureForm",0,{source:"cancelGroup"});
    Basically simulating a click on the 'Cancel' button.

    For some reason when the user closes the window by clicking on the close icon, the action code fires, but the return listener code never fires.

    Any idea why?

    DB:3.23:Close Dialog Window By Clicking On 'X' c7

    Hi

    I am displaying a dialog window that allows the user to modify data.
    When the user clicks on the 'Cancel' button I have placed on the window, the action code fires and the return listener fires.

    I have added some java script that executes the following command when the user closes the dialog by clicking on the close icon.
    submitForm("groupCaptureForm",0,{source:"cancelGroup"});
    Basically simulating a click on the 'Cancel' button.

    For some reason when the user closes the window by clicking on the close icon, the action code fires, but the return listener code never fires.

    Any idea why?

  • RELEVANCY SCORE 3.22

    DB:3.22:How To Close Popup Window p9


    Hi all,does any one know how to close a popup window?That is a external window and not modal.I want to close that window by clicking a button in it.Best Regards,Austin

    DB:3.22:How To Close Popup Window p9

    Austin,If your question is related to WD Java, then refer a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/55/084640c0e56913e10000000a1550b0/frameset.htm"Closing a pop up/a.~ Bala

  • RELEVANCY SCORE 3.21

    DB:3.21:How Can I Disable Jdilog Close Box zm


    Dear Friends,

    I have a Jdilog. After entering data I have 2 button i.e OK and Cancle.
    If user click on ok button then There is some validation rule.that will be validate.
    and on clicking Cancel button simply Jdilog will closed without validation.
    But User can also close this Window throw Jdilog Close box at top,

    My requirement is in this way that I have to not close window by close box,
    The resion is , I am passing Object from calling frame (applet) to Jdilog at modification time.[It means Object is in Ref].
    so if any user update invalid data and just close the window then validation rule will not be Fire.

    Besides is there any way minimizing the browser the Jdilog(model) will also minimized with browser.

    Please help me.
    Siddharth Singh(singhsiddh@yahoo.com)

    DB:3.21:How Can I Disable Jdilog Close Box zm

    My requirement is in this way that I have to not close window by close box, Write your code like this, then it doesn't matter if the user clicks on the Close button or your Ok button:

    http://forum.java.sun.com/thread.jspa?forumID=57threadID=695964

  • RELEVANCY SCORE 3.21

    DB:3.21:How Do You Force A Single Tabbrowser Window To Close If Clicking The X Doesnt Work 9a


    I have multiple tabs open and running, and then I hit a "speed bump." One stupid tab that refuses to close and also seems to be slowing everything else down. Clicking the x isn't helping. Right-clicking on bottom of the screen, then trying to close that
    window, isn't helping either. Going into task manager, I can't tell which one is the problem.
    Is there a way to "force" that one window to close, while the rest keep running?
    I apologize in advance as I'm sure others have run into this problem and have asked about it, but I didn't know how to define a useful search and couldn't find previous posts.
    Many thanks.

    DB:3.21:How Do You Force A Single Tabbrowser Window To Close If Clicking The X Doesnt Work 9a


    HI,
    ·Do you receive any error message when you try to close the Browser Window?
    ·Do you remember making any changes to your system before the issue occurred?
    ·Since when are you facing this issue?
    ·Does this issue only occur in Internet Explorer or other third party browsers as well?
    ·For which webpage or website do you face this issue?
    ·Are there any toolbars installed on the Internet Explorer?

    Method 1:
    You can also useCTRL+W to close that specific tab he has to be in the tab which has to be closed and.

    Method 2:
    If toolbars are installed on the Internet Explorer you can uninstall and checking if it works fine or not.

    To do so refer to the article provided below and search for the toolbars and uninstall them:
    http://windows.microsoft.com/en-US/windows7/Uninstall-or-change-a-program
    You can also refer to:
    http://www.microsoft.com/windows/internet-explorer/support/faq.aspx
    Method 3:
    Refer to the link provided below to optimize Internet Explorer and check if it helps in resolving the issue:
    http://windows.microsoft.com/en-us/windows/help/internet-explorer/slow-five-tips-to-boost-performance
    I would also suggest you to browse with other third party browser and check if you face the same issue.

    Thanks and Regards:
    Naman R - Microsoft Support.

    Visit our
    Microsoft Answers Feedback Forum and let us know what you think.

  • RELEVANCY SCORE 3.21

    DB:3.21:How To Resize The Window ? 1s


    I want to resize my window using the middle icon of top right corner (minimize-maximize/restore down-close) like the any normal window.By clicking the Maximize/Restore down icon on the full screen, Window should be resized to almost 30% of the screen by again clicking that icon should make the window the full screen (like any other window).

    Any help would be highly appreciated. Also does layout also plays any role in resizing. I am using flow layout. Does resizing possible in it ?

    DB:3.21:How To Resize The Window ? 1s

    I want to resize my window using the middle icon of top right corner (minimize-maximize/restore down-close) like the any normal window.By clicking the Maximize/Restore down icon on the full screen, Window should be resized to almost 30% of the screen by again clicking that icon should make the window the full screen (like any other window).

    Any help would be highly appreciated. Also does layout also plays any role in resizing. I am using flow layout. Does resizing possible in it ?

  • RELEVANCY SCORE 3.20

    DB:3.20:How To Close A Window ss


    Hi,

    I'm new to Java Swing. I created a window using a JFrame. It has a button named Close. I want to know how to write as Action Listener to close the window by clicking that button; without closing the complete program.

    Thanks.

    DB:3.20:How To Close A Window ss

    in my program I create the window
    Like :
    Windoe w =new Window ();

    I want to add "x" button to close window
    how I can do it??

  • RELEVANCY SCORE 3.20

    DB:3.20:Can't Close Tab zz


    I can't close tab from safari. you know how when you open a new tab, and if you wants to close it, if you click on it, it shows a "x", so you can click and close the new tab. But from today, it doesn't appear, and I have to close each tab by right-clicking. HOw do i get back the "x" to close tab ?

    DB:3.20:Can't Close Tab zz

    I am running Snow Leopard (10.6.8) with Safari (5.1.7). Recently, I discovered that I could not close tabs. In spite of hovering my cursor where the X should be, none appeared. So, following advice given here on this website, I Forced Quit Safari, restarted it and now the missing Xs reappeared and now I can close one or all tabs.Thank you for your help.

  • RELEVANCY SCORE 3.20

    DB:3.20:Window Created By Dll Does Not Close pm


    Hello all,

    I'm a labview newbie and I'm having a scuffle with a program I'm trying
    to write. I'm calling a DLL file that creates a window, however,
    when the VI's execution ends, the window is still up. The window
    remains up until I close all labview windows. Every time I run my
    program within labview another window pops up. This window that
    pops up does not respond to one clicking the "x" in the top-right hand
    corner. I tried using windows API calls to close the window, but
    that does not work either.

    Any Ideas?

    DB:3.20:Window Created By Dll Does Not Close pm

    Thanks guys for your help,

    I think I found out the problem. I think it's a logic error in my
    VI. However, your advice will come in handy in debugging.
    Sorry to have taken up your time!

  • RELEVANCY SCORE 3.20

    DB:3.20:Closing Multiple Vis 8m



    I am designing a vi which opens various subVI front panel during run time. every subvi is opening different ports (Com or ehternet) on PC. I want to close all the vis by clicking the window close, andure that every port has been closed by the program before exiting




    Labview user

    DB:3.20:Closing Multiple Vis 8m


    HI everyone,

    I think I got the solution.

    I will use stop flag as suggested by GerdW.

    and same time use panel close for individual vi's as suggested by nijams.

    Thanks to both of you.




    Labview user

  • RELEVANCY SCORE 3.20

    DB:3.20:How To Close External Window j9



    Hi @ll,

    i have one application which is displaying at portal content area. In that application there is a button which opens a another application in external window. Now my query is to how i could close that external window by clicking the Close Button of the 2nd application.

    Please suggest.

    DB:3.20:How To Close External Window j9


    Hi Goutam,

    Once you open the window from the 1st application are u storing the window context in the conponent controller?

    Else you will not have the handle of the window and u cannot close it.

    try this. on action of the element which opens the window, store the window context:

    1. Create a context Attribute in the component controller

    2. The type of the attribute of type IWDWindowContext under Java native type

    3. Once you click on the button of the 2nd window, get the window context attribute in the 2nd window using the component controller

    4. Close the window

    Eg: -

    Before opening First Window:

    IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("WindowName");

    IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);

    wdContext.currentContextElement().setAttributeName(window);

    window.show();

    On Closing Second Window:

    IWDWindow window = wdContext.currentContextElement().getAttributeName() {Bind the attribute to the controllers Attribute};

    window.destroyInstance();

    Hope this helps u.

    Regards,

    Poojith MV

  • RELEVANCY SCORE 3.20

    DB:3.20:Can Setwindowshook Be Used To Intercept Window Close Clicks? am


    I have a 3rd party app that has problems when the user clicks the red X to close the window. Can I use SetWindowsHook ( or some other method ) to intercept the clicking of the window close button?
    thanks,

    DB:3.20:Can Setwindowshook Be Used To Intercept Window Close Clicks? am


    Well, I would suggest you actually read information on Windows hooks. Your question is already answered in the documentation for

    Hooks.

    that is a great link. thank you.
    -Steve

  • RELEVANCY SCORE 3.20

    DB:3.20:Moving A Tab To New Window Moves The Tab, But I Can Not Close Both Tabs After. 39



    I am Using Firefox 19.0 on Ubuntu 12.04 LTS
    Mozilla Firefox for Ubuntu canonical - 1.0

    I have got a problem:

    When I move a tab to a new window either by dragging the tab or by right clicking on tab and clicking on Move to New Window Opens the tab, but following happens:

    Previous tab doesn't close,
    It cannot be used further,
    It cannot be switched once you switched to any other tab,
    It cannot be closed by clicking cross sign (X) next to it,
    New tab opened do not have the URL in Location Bar,
    New tab cannot be closed by clicking cross sign (X) next to it,
    New tab cannot be switched once you switched to any other tab,
    You can atleast switch to the tab if you Pin it.

    Please Help, how can I use it normaly.

    DB:3.20:Moving A Tab To New Window Moves The Tab, But I Can Not Close Both Tabs After. 39

    Question owner


    I have also tried the Googlebar Lite now, but it does not helps me in the purpose for which I use Google Toolbar.

    Google Toolbar lets me translate any web page to English even after I log into any website, other translators just log-outs and translate the URL accessible to public view.

  • RELEVANCY SCORE 3.19

    DB:3.19:How To Prevent A Window From Closing. aa


    Does anybody know how to prevent a window from closing?

    I would like to build a form in which a specific window can only be
    closed programmatically (button) and no by clicking the standard
    window close (X) button.

    The set_window_property does not seem to have a property to use and
    the closeable preference prevents closing of all windows and will
    become obsolete.

    We use Designer 6i and Headstart 6.5.1

    Thanks in advance,

    Rob Dorn

    DB:3.19:How To Prevent A Window From Closing. aa

    You should set property "Template/library object" of your window to "QMSSO$DIALOG_WINDOW" or "QMSSO$MODAL_DIALOG_WINDOW" in Designer.

    QMSSO$DIALOG_WINDOW and QMSSO$MODAL_DIALOG_WINDOW are the windows from Object Library. By using Template/library Object property you tell the generator to use that specific window as a template for generating your window.

    That works on the other objects too (Module Components, Items, ...)

    Hope that helps!
    Dalibor

  • RELEVANCY SCORE 3.19

    DB:3.19:How Do I Close The Pull Down Window I Get When I Right-Click Back Arrow (Left Of Address Bar)? Escape Used To Do It. ak



    When a tab has some history associated with it, the back and forward arrows near the address bar (to it's lefet) open up that tabs history, when right-clicked.

    But, I can't close this history popup window.

    In the past, hitting escape closed this window. (firefox 14). Now (firefox 27) ESCAPE doesn't close the window.

    How do I close this window?

    (I would like to do this via the keyboard, and NOT BY JUST CLICKING some RANDOM place on the screen.)

  • RELEVANCY SCORE 3.19

    DB:3.19:Popup Window Data To Putback To Parent Component 1c



    Hi Experts, I'm trying to figure out how when the "select records from popup result list", in the window that has popped up from clicking on a link in the original window, to get it to close the popped up window and send the results of the form submit to the parent assignment block AccountContactsOV..

    BP_DATA/AccountContactsOV parent window

    BP_CONT_SEARCH/SearchHelpResult (Popup result window.

    How to achive this ?

    DB:3.19:Popup Window Data To Putback To Parent Component 1c


    Hi Vijay, I tried to bound iv_target_node_name = 'CONTACT' of bp_search_cont and BUILCONTACTPERSON of bp_data. But it did not work. Any advise.

  • RELEVANCY SCORE 3.19

    DB:3.19:How To Recognise That User Wants To Close Vi-Window? zf


    Hello,
    i have VI with a while-loop. The loop can be stopped by pressing a true/false-Button on the front-panel.

    If the user closes the Vi-Window by clicking on th cross [X] in the topper right (the standard
    button next to minimize, maximize) the the loop is of course also stopped.

    Is it possible to get this [X]-cklick and NOT to close the window but doing something in the VI
    after knowing that the [X] was clicked?

    Thanks for your help.
    Message Edited by NewOne on 09-22-2005 03:34 AM

  • RELEVANCY SCORE 3.18

    DB:3.18:Close The Window In Forms 3f


    well i had made my application with multiple windows in one form well all the window be opened through menu but the problem is that when i tried to close the windowby clicking on the close mark on the window it dont close that window well in this way if i had opened 10 or more windows they remain open and dont seem to be close by that close or hide on exit property of that windows what i conclude its a built in bug or any mistake that i had made help me out

    DB:3.18:Close The Window In Forms 3f

    Sorry...
    Hide_Window(), not Clese_Window('W1');

  • RELEVANCY SCORE 3.18

    DB:3.18:How To Add Selected Rows From One Datatable To Other.. jx


    Hi all,
    I hv a dataTable containing some rows. when i click a button a new window appears containing other dataTable. Iam displaying data in a dataTable from an ArrayList. In the first column i hv placed checkboxes. If the user selects some rows by clicking on checkboxes, I hv to close the new window and add all the selected rows to the parent window dataTable. How to do that? any ideas?
    Thanks...

    DB:3.18:How To Add Selected Rows From One Datatable To Other.. jx

    With RowObject I mean the DTO.

    Go through http://balusc.xs4all.nl/srv/dev-jep-dat.html

  • RELEVANCY SCORE 3.18

    DB:3.18:How To Close An Application jm


    how does one close an application, by clicking on a "exit" button that has an actionListener? what should i implement in the actionPerformed method?

    DB:3.18:How To Close An Application jm

    how does one close an application, by clicking on a
    "exit" button that has an actionListener? what should
    i implement in the actionPerformed method?System.exit(0);

  • RELEVANCY SCORE 3.17

    DB:3.17:Close Main Window On Button Click 1m



    Hi,

    This is a very popular topic, but my requirement is slightly different.

    To close the window on a button click I have followed the steps mentioned in the thread

    http://scn.sap.com/message/2986093#2986093

    But this did not seem to work.

    This is beacsue my application is actually triggered by clicking on an workitem in the UWL. We have an R3 workflow for this and I have maintined the necessary configurations in SWFVISU.

    What I observed was that THE URL OF THE APLLICATION TRIGGERED FROM THE WORKITEM JUST REFUSES TO CHANGE. YOU CANNOT EVEN CHANGE IT MANUALLY. Thaat is why this technique is not working.

    Can anyone help me with this. How to close that window (generated by clicking the workitem) on a button action ??

    DB:3.17:Close Main Window On Button Click 1m


    Hi,

    This is a very popular topic, but my requirement is slightly different.

    To close the window on a button click I have followed the steps mentioned in the thread

    http://scn.sap.com/message/2986093#2986093

    But this did not seem to work.

    This is beacsue my application is actually triggered by clicking on an workitem in the UWL. We have an R3 workflow for this and I have maintined the necessary configurations in SWFVISU.

    What I observed was that THE URL OF THE APLLICATION TRIGGERED FROM THE WORKITEM JUST REFUSES TO CHANGE. YOU CANNOT EVEN CHANGE IT MANUALLY. Thaat is why this technique is not working.

    Can anyone help me with this. How to close that window (generated by clicking the workitem) on a button action ??

  • RELEVANCY SCORE 3.17

    DB:3.17:When I Close A Firefox Window, I Have To Wait To Close Another Window pc



    If I have multiple Firefox windows open and decide to close a few of them by clicking the the red "X", the first one closes fine. After that, I must wait a few seconds before another will close. I can close them without pausing a few seconds by using command-w, but that is not always convenient. Why the pause???

    DB:3.17:When I Close A Firefox Window, I Have To Wait To Close Another Window pc


    If I have multiple Firefox windows open and decide to close a few of them by clicking the the red "X", the first one closes fine. After that, I must wait a few seconds before another will close. I can close them without pausing a few seconds by using command-w, but that is not always convenient. Why the pause???

  • RELEVANCY SCORE 3.17

    DB:3.17:About:Blank - Microsoft Internet Explorer kz


    I'm running Windows XP (SP2), with Internet Explorer 6.0.2900. I keep having a problem when closing a window. Wyen I click on the X in top right corner to close a window, the window contents disappear, but I'm left with a blank screen (labeled about:blank - Microsoft Internet Explorer), which I can't close by clicking on the top-right X. The only way I can get the blank window to close is by calling up the Task Manager (Ctrl+Alt+Del), highlighting about:blank - Microsoft Interner Explorer, and clicking End Program.

  • RELEVANCY SCORE 3.17

    DB:3.17:Can't Close Internet Explorer 7m



    I have an 11 month old HP Pavilion Slimline desktop PC, running Vista Home Premium.

    About a week ago, it became impossible to exit Internet Explorer by clicking on the Close (white cross on red box, top right).

    I have to use Task Manager to close the window.

    I regularly use Advanced Windows Care, iClean RegCure in an attempt to keep things clean and tidy.

    I use AVGFree v8anti-virus

    Any ideas how to fix the Internet Explorer "freeze"?

    DB:3.17:Can't Close Internet Explorer 7m


    Thank you so much for answering this question. It worked for mine too!! Thank you!! I don't understand how this happened but I'm glad you knew how to fix it!!

  • RELEVANCY SCORE 3.16

    DB:3.16:How To Close Current Window In Firefox sz


    hi friends ,i am doing a web application in flex4 .now i am running in that firefox.i want to close the current window while i am clicking close button.but i couldnt make that please help meThanks,B.venkatesan.

  • RELEVANCY SCORE 3.16

    DB:3.16:I Cant Close Tabs Anymore Since Upgrading. Clicking On The X Or Right Clicking And Clicking On Close Tabs Dont Work. af



    I just upgraded to 4.0 and now I am unable to close tabs by the x or by right clicking. Even if I open a new blank tab, I can not close it. Please help!

    DB:3.16:I Cant Close Tabs Anymore Since Upgrading. Clicking On The X Or Right Clicking And Clicking On Close Tabs Dont Work. af


    I just upgraded to 4.0 and now I am unable to close tabs by the x or by right clicking. Even if I open a new blank tab, I can not close it. Please help!

  • RELEVANCY SCORE 3.16

    DB:3.16:How To Close A Form Clicking On 'X' (On The Window) af


    Hi
    I am working on oracle developer suit 10g.
    I have developed a form. It's running absolutely fine.
    But when I try to close the form clocking on 'X' (On the window). the form does not get closed.
    Could you please tell me what should I do?

    Regards

    DB:3.16:How To Close A Form Clicking On 'X' (On The Window) af

    write a trigger at Form level

    WHEN-WINDOW-CLOSED

    exit_form;

  • RELEVANCY SCORE 3.15

    DB:3.15:Mfc App Creates Console, Console Close Button Breaks App 7p


    I am trying to run a console in an MFC application.  I successfully allocate and free the console when the application initializes and exits.  I successfully close the application, thus exiting the instance, by clicking the exit button (or exit menu item) of the dialog.  However, when I close the console window, the application in debugging generates a breakpoint in some thread function (the classic breakpoint at 0xblahblah) in some thread file.  How can I close the MFC application by using the console's close button?  I know a Win32 function called SetConsoleCtrlHandler which will allow for the close button click event to be handled.  However, how do I terminate the MFC application from such a handler?

    DB:3.15:Mfc App Creates Console, Console Close Button Breaks App 7p

    My real intent was to use MFC classes in a console application.  It was a flawed design to carry such an intention by taking an MFC application, adding a console to it, and then stripping the unnecessary MFC parts.

  • RELEVANCY SCORE 3.15

    DB:3.15:Scripted Close Window Bug? 3m



    Hi all!

    Admittedly, I am just now starting to work more fervently with FileMaker 12. I was doing just that yesterday when I ran into an odd behavior that may or may not be a bug, but I wanted to get some feedback from the forum members on. ie, has anyone else seen it and how did you deal with it.

    The scenario:

    FileMaker Pro 12 Advanced.

    I used custom menus to script the Close menu item. For the sake of testing, I made the script that the Close menu item calls a single step: Close Window[Current Window].

    Two windows open and visible by the user, Window A and Window B.

    The symptom:

    If the active window is Window A and the user clicks on the "X" in the upper right corner of Window B to close it, the script fires off but closes Window A. Not quite what a user would expect to happen.

    Here's something else that is very strange. I added a step to the Close script that sets a variable to Get(WindowName) just before the Close Window[Current Window] step. I then added Get(WindowName) to the "Watch" tab in the Data Viewer and started the debugger.

    I then reproduced the scenario above and stepped through the steps. After setting the variable, I checked the Data Viewer. The variable held the name of Window A and the Get(WindowName) function in the "Watch" tab of the Data Viewer showed the name of Window B.

    This problem does not exist in any .fp7 version of FileMaker.

    Obviously, selecting Window B first and then clicking it's close button works to close Window B. User could be trained to do that, but it's not intuitive and will lead to windows being closed unintentionally.

    So, what do you think? Is this a bug in FileMaker 12 or intended behavior? Has anyone out there dealt with this?

    DB:3.15:Scripted Close Window Bug? 3m


    You are correct. I am primarily Windows since most of my clients Windows users.

    I would agree with you about the possibility of an OS issue except that FileMaker 11 on the same computer, running the same script, performs differently in that it actually does close Window B as one would expect it to.

    WindowNames was brought up several times in this thread so I ran some more tests to see what WindowNames returns by setting a variable to WindowNames in the same step that sets the other variable to Get(WindowName). This returned another peculiar thing.....

    WindowNames, as you know, returns the list of open windows in the order in which they are stacked. So, the current window would be at the top of the list of names returned. I expected that since Get(WindowName) was returning Window A when setting the original variable, that WindowNames would return the list of windows with Window A at the top. Not so.....WindowNames actually returns, what I would consider, the correct order of the windows in the scenario above and has Window B at the top.

    So, it seems that I can use GetValue(WindowNames; 1) in lieu of Get(WindowName) to get the name of the window that is being closed by the user.

    I may also play with the OnWindowClose script trigger a little bit to see if that works out too. The only problem I see with using the script trigger is that the script in my actual solution does things before AND after the window is closed. The script trigger runs BEFORE the window is closed only.

    Thanks all for the replies!

  • RELEVANCY SCORE 3.15

    DB:3.15:How To Refresh Parent Window? kk


    Howdy,

    i open a open child window using window.open.

    once stuff is done in child window....user can close it by
    pressing close button or X on top right.

    When they close child window, i want to refresh parent window
    and show changes from child window in parents window.
    How to do this?

    DB:3.15:How To Refresh Parent Window? kk

    the OPENER object is available in UNLOAD event.
    so you can call that js function in the body's onUnload event
    and just
    call self.close() in the button's/link's onClick event...

    Azadi Saryev
    Sabai-dee.com

    http://www.sabai-dee.com/

  • RELEVANCY SCORE 3.15

    DB:3.15:How To Acieve The Automatic Close Of The Window/Tab If The Opened Website Supports With Close This Window Option? km



    Some websites give an option to close the browsing window/tab. Just by clicking the option, like, "close this window" we could automatically close the window/tab. Presently with my firefox settings the window/tab doesn't get closed by clicking such option. The window /tab remain open. How to resolve this?

    DB:3.15:How To Acieve The Automatic Close Of The Window/Tab If The Opened Website Supports With Close This Window Option? km


    Some websites give an option to close the browsing window/tab. Just by clicking the option, like, "close this window" we could automatically close the window/tab. Presently with my firefox settings the window/tab doesn't get closed by clicking such option. The window /tab remain open. How to resolve this?

  • RELEVANCY SCORE 3.15

    DB:3.15:How Do I Close The Window Using The X In The Top Right Hand Corner?? It Wont Close.... pf



    I used to be able to close out the window and all tabs by clicking on the 'x' in the top right hand corner. Now it doesn't do it at all. I have to go down to the bottom of the screen to the start menu and right click and then scroll down and click close.

    DB:3.15:How Do I Close The Window Using The X In The Top Right Hand Corner?? It Wont Close.... pf



    You can also close Firefox going into the Firefox button menu (at the top left of the screen) and then clicking "Exit".

  • RELEVANCY SCORE 3.14

    DB:3.14:How To Close The Console And Keep The Form Open In A Console Application 1k


    Hello,
    I want to be able to run my application from the command line and close it if it reads ESC key. Also, I might also run it by double-clicking the executable.
    My approach was to to make it a console application, otherwise if it was a Windows application and I ran it from the command line I would not be able to read from the console (after I launched the program I'd get control again of the console). However, if
    I launch it by double-clicking the .exe a console window shows up (as expected), but this is too ugly to keep for a end-user program. Therefore, I want to close the console and keep the form alive.
    How can I do that? I'm also open to other approaches to my problem.
    Thanks

    DB:3.14:How To Close The Console And Keep The Form Open In A Console Application 1k

    You could try the following. I have foundno documentation to guarantee that it works.
    [DllImport(kernel32)]
    static extern bool FreeConsole();
    [STAThread]
    static void Main(string[] args)
    {
    var handle = Process.GetCurrentProcess().MainWindowHandle;
    if (handle != IntPtr.Zero)
    FreeConsole();
    Application.Run(new MyForm();
    }

  • RELEVANCY SCORE 3.14

    DB:3.14:Problem Closing A Popup Window x7



    Hi everybody.

    I'm developping a modul-pool application in wich i have a popup window to show data.

    I've created a status GUI for that window with a 'CANCEL' button. I use that button to close de dynpro.

    But why can't i close this dynpro by clicking the 'X' in the top right corner??

    I've debbugged this action, and no event is fired when i click it.

    Any ideas???

    DB:3.14:Problem Closing A Popup Window x7


    I've just solved the problem by myself.

    Thanks

  • RELEVANCY SCORE 3.14

    DB:3.14:Push Button Window Close kf



    Hello,

    I am trying to put a push button to close the window. I am able to open the window, but not close with the push button.

    This is what i have done -

    I have a push button, on click this will bring up two pie charts in a canvas container with a background. Inside the background i kept my close (push button) to close the canvas and background with chart.

    The background is connected to a cell in excel A3 and i have two other cells with 1 and 0. All the components with dynamic visibility A3 matches 1 pops up the window with the containers.

    How to make this work by disappearing the window by clicking the close button?

    Appreciate your help.

    Thanks,

    Arun

  • RELEVANCY SCORE 3.14

    DB:3.14:Log And Capture Window Won't Close??? pj


    Hi,

    I just starting shooting HDV footage.

    When I import my footage the log and capture window sometimes won't close??? This never happened when I imported DV footage. I try to close it by clicking on the small red X circle, I try to close it by the keyboard "command 8" I just keep getting a chime sound. I can't do anything else with the project but force quit.

    Anybody have any suggestions?

    Also when I capture my footage at the end of the tape the window that pops up...... always says Timecode break capture was aborted but the footage was captured???

    Thanks

    DB:3.14:Log And Capture Window Won't Close??? pj

    Thanks Andy,

    OK that's what I have been doing....just ignore the warning because the footage is their. But I was wondering if I am doing something wrong with this new HD workflow?

    As for closing the window I did not try CMD+W. I always use CMD+8 to open and close the log and capture window. After that not working I was clicking on the red X many times and kept getting a chime.

  • RELEVANCY SCORE 3.14

    DB:3.14:Real Player, Windows Media Player, Quicktime Problems With Internet Explorer ak



    Every time i watch a video with quicktime, real player or windows media player inside an internet explorer window (mostly clicking on a link first) the video plays perfectly. But my problem starts when i want to close that extra window where the player is. every time i close this window my internet explorer crashes.

    Anyone knows how to fix this problem?

    Thanks

    estiro

    DB:3.14:Real Player, Windows Media Player, Quicktime Problems With Internet Explorer ak


    Every time i watch a video with quicktime, real player or windows media player inside an internet explorer window (mostly clicking on a link first) the video plays perfectly. But my problem starts when i want to close that extra window where the player is. every time i close this window my internet explorer crashes.

    Anyone knows how to fix this problem?

    Thanks

    estiro

  • RELEVANCY SCORE 3.13

    DB:3.13:How To Call The Backing Bean Method Through Javascript By Closing Window? mp


    Hi all,

    What I want to do is:

    I open a new page by clicking t:commanLink.../ from the first page. Then I close the new page. By closing the new page I will call a function in the backing bean such as myBean.doSomething() to do something. Such like:

    ...
    body onUnload=jsFunction()..../
    ...

    DB:3.13:How To Call The Backing Bean Method Through Javascript By Closing Window? mp

    Looks Good... You would want to close the window after the click in your JS code.

  • RELEVANCY SCORE 3.13

    DB:3.13:How To Know If A Child Window Is Closed By Clicking X? xc


    Can anyone tell me how to know if a child window is closed by clicking X?

  • RELEVANCY SCORE 3.13

    DB:3.13:Moving Curser Across Page, Without Pressing Button, Window Will Close Or Open Up Another Window. 7a



    Occasionally, when I am moving my cursor across a web page, it will either close or will open another window. It is as if I am clicking on the X to close the page or clicking on some other part of the page and it opens. When this happens, I do not have any buttons on the mouse pushed. It has been suggested that Norton is an issue, but I don't see how it could be.

    DB:3.13:Moving Curser Across Page, Without Pressing Button, Window Will Close Or Open Up Another Window. 7a



    Make sure that you do not drag a tab in the browser window.

    Current Firefox versions have a feature called tear-off tabs.

    You can detach a tab from the current window and open it in a new window by dragging a tab in the browser window.

    You can drag that tab back to the tab bar in the original window to undo that detaching.

  • RELEVANCY SCORE 3.13

    DB:3.13:How To Close A Large Image New Window? 88



    Hi all... Is there an easier way to close a new large image window that opens on clicking a thumbnail....ie not having to use the back button all the time?

    Thanks in advance

    Norm...

    DB:3.13:How To Close A Large Image New Window? 88


    In the new window, you can always use onblur="self.close()";, but that presumes that the window contains an HTML page and not just an image.

  • RELEVANCY SCORE 3.13

    DB:3.13:Disable Shutdown By User Clicking "X Box" At Top Right Of Window. xk



    As with all windows, VMware Player has Minimize|Restore|Close. If a user click Close, then the system is shutdown just as if you pulled the plug. Does anyone know a way to prevent users from doing this? Any type of disable you can setup?

    DB:3.13:Disable Shutdown By User Clicking "X Box" At Top Right Of Window. xk


    You can also set the user the vmware server runs under, i.e system. Closing the console won't kill the VMs then.

  • RELEVANCY SCORE 3.13

    DB:3.13:Refresh Parent Window From Child To Poulate Datatable xx


    hi,
    Following is my requirement:

    I've a jsf page. On clicking a link, i open a popup for List Of Values - data table (using window.open). Multiple selection is allowed there by use of check box.
    On click of a button in the popup, i need to refresh a datatable in the parent window with the selected rows and close the popup.
    The mbeans are in request scope. The arraylist for the datatables are in session scope.

    I do not know how to refresh the parent window from the child before closing.

    Please help.

    Thanks,

    DB:3.13:Refresh Parent Window From Child To Poulate Datatable xx

    hi,
    Following is my requirement:

    I've a jsf page. On clicking a link, i open a popup for List Of Values - data table (using window.open). Multiple selection is allowed there by use of check box.
    On click of a button in the popup, i need to refresh a datatable in the parent window with the selected rows and close the popup.
    The mbeans are in request scope. The arraylist for the datatables are in session scope.

    I do not know how to refresh the parent window from the child before closing.

    Please help.

    Thanks,

  • RELEVANCY SCORE 3.12

    DB:3.12:Wpf Closed Window Shown Again xa


    Hello,

    I have taken a window of login. When user enter correct credentials then current window close and shows new window by creating the object of new window. In the new window there is a logout option which close the window and come back to login window by creating
    the new object of login window. When I again request for login then again create the new object of new window that time older window object also shows and current object also shows. So two window shows.
    So how to fully dispose the object of window?

    any other solution ?

    DB:3.12:Wpf Closed Window Shown Again xa

    Hi Sopan Vaidya,
    Without seeing your code it's hard to guess why two window shows.
    Anyway, I would recommend using singleton pattern here and just show/hide the window instead of creating new windows.
    Best regards,

    Min Zhu
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 3.12

    DB:3.12:How To Detect The Html Extension Window Close In In-Design? Does The In-Design Throws Any Event On Opening/Closing Of Extensions? cz



    How to detect the HTML extension window close in In-design? Does the In-design throws any event on opening/closing of extensions?

    I have a HTML extension running in In-design CC 2014 version.

    I want to perform some required set of actions before my extension window is closed(by clicking on the cross button on top right corner).

    Does In-design throws any event for it? Or can we capture it using C++ plugin in some way?

    DB:3.12:How To Detect The Html Extension Window Close In In-Design? Does The In-Design Throws Any Event On Opening/Closing Of Extensions? cz


    Naah.......haven't got any event for that yet.

    Although, since HTML extensions are using chromium browser, as a workaround, u can attach listener to HTML onClose event, but it won't solve any purpose if you

    are looking to logout session or do some business login in your code.

  • RELEVANCY SCORE 3.12

    DB:3.12:Probably A Noob Question? How To Close All Finder Windows? Shortcut? x3


    You know, you have a few HD's, folders open, all finder windows, no app's. ..

    Wondering if there is a command to close all the windows instead of clicking on the red "X" to close each window.

    Thanks

    DB:3.12:Probably A Noob Question? How To Close All Finder Windows? Shortcut? x3

    hold option key while closing one window to close all (either option-click the close widget or option-apple-w). works with minimizing as well. add a shift when minimizing to slow down the animation (or just use the shift to slow down minimizing one window)

  • RELEVANCY SCORE 3.12

    DB:3.12:Which Event Is Invoked On Clicking The Close Button Of Air Window j1



    Hello I am trying to capture the event; which is invoked when we close the AIR window by clicking its Close button (on the top-right corner). I have tried the following; but none of them seems invoked:
    Code:

    DB:3.12:Which Event Is Invoked On Clicking The Close Button Of Air Window j1


    I wonder, no geek came forward for rescue! I am still hopeful to get a response from Adobe AIR wizards.

  • RELEVANCY SCORE 3.11

    DB:3.11:Current Selections kz



    Whenever I hit the 'current selections' button in the AJAX-client, I am unable to close the popped up window by clicking the 'X'. Am I missing something here or is it a bug?

    DB:3.11:Current Selections kz


    definitly a bug.

    Please file it to support with your server version and browser.

    /anders

  • RELEVANCY SCORE 3.11

    DB:3.11:Closing Window Of Opened Mailitem, Vsto 3 ad


    Hi I've added an event handler to this.Application.Inspectors.NewInspector (VSTO addin) in order to execute some code when certain mails are opened by double clicking. The code is executed fine, but I want to close the window containing the opened mail, calling close on the associated inspector only closes the inspector itself.. How can I close the window also? Regards, Fredrik

    DB:3.11:Closing Window Of Opened Mailitem, Vsto 3 ad

    Hello again Fredrik,Thank you very much for taking a moment to come back and report this. I'm sure this will help others in the future.Best regards,BessiePlease remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

  • RELEVANCY SCORE 3.11

    DB:3.11:Window Not Closing When I Click On "X" 9p


    I am working on creating a new form in 10g.

    When I click on the right hand corner 'X' of the main window(form is appearing in the application normally), it doesn't close. I am closing it only by clicking on my "close" button.

    Do you know what property needs to be set on the window so that it closes when the 'X' is clicked?

    Thanks,
    Chiru

    DB:3.11:Window Not Closing When I Click On "X" 9p

    Hi Andreas,

    :SYSTEM.EVENT_WINDOW was just what I needed.

    Thanks,

    Abigail

    P.S. I hijacked the thread coz I just wanted to keep the discussion in one place, so it would be easy for others to find :)
    But, I guess it's not much incentive for others to answer my question if I can't give out answer points! So, yea next time I'll create a new thread.

  • RELEVANCY SCORE 3.11

    DB:3.11:How Do I Trap File Close Event 3m


    Hello -

    I am trying to create a hook that will detect when a Photoshop file is closed via an explicit File-Close or by clicking the Windows close button.

    Are there any documented way of doing this?

    I have managed to create a Windows WH_CBT hook that can detect when a PSDocC class windows is being destroyed, however from that I can't decode the actual file path that is being closed. The window title doesn't contain the fully qualified PSD filename. Is there any documented or undocumented API that one can use to get the filepath ?

    Thanks

    DB:3.11:How Do I Trap File Close Event 3m

    No, you should supply your automation plugin that will monitor the events. You may want to check the "Automation Tutorial.pdf" from the SDK documentation.
    As I've said, this approach solves the problem "in the majority of cases"; if documents are closed as part of an action or a script, the automation plugin will not be able to detect it as no events are sent to the automation plugin. A simple solution is in not supporting actions/scripts; more complicated ones are well beyond what can be briefly discussed here and they would require _a lot_ of low level, platform dependent work, more or less along the lines of what you have asked about in the first post: unfortunately, to the best of my knowledge, there is no simple solution here that would cover scripts and actions.

  • RELEVANCY SCORE 3.11

    DB:3.11:Osx: Ff Running, But No Windows Open - Clicking On The Dock Icon Should Open A New Window. xk



    Running OSX 10.5.8, FF3.6.10. If I close all FF windows, but leave FF running, I should be able to open a new FF window by clicking the dock icon. This doesn't work - it just brings FF to the front, but no windows open. Any ideas how I can fix this?

    DB:3.11:Osx: Ff Running, But No Windows Open - Clicking On The Dock Icon Should Open A New Window. xk


    Running OSX 10.5.8, FF3.6.10. If I close all FF windows, but leave FF running, I should be able to open a new FF window by clicking the dock icon. This doesn't work - it just brings FF to the front, but no windows open. Any ideas how I can fix this?

  • RELEVANCY SCORE 3.11

    DB:3.11:Mouse Click Event In Webdynpro Java 13



    Hi

    Can anyone tell me how mouse click event on a webdynpro view be captured? The requirement is to close a popup window by clicking anywhere in the view.

    Thanks

    Venkata

    DB:3.11:Mouse Click Event In Webdynpro Java 13


    Hi

    Thanks to all of you for your suggestions. We have already changed our requirement and added a button in pop-up to close.

    Thanks

    Venkat

  • RELEVANCY SCORE 3.11

    DB:3.11:Unity3 Terrain.Cs Assert In Editor xk




    Ah, fixed it.




    I think this is a bug in the editor. I fixed it by right clicking the 'Scene' tab and clicking 'Close tab'. Then went to Window-Scene and the new scene view worked fine and it stopped outputting any errors.




    Weird :P

    DB:3.11:Unity3 Terrain.Cs Assert In Editor xk


    Oh, god ! Thank you ! You just saved my last 10h of work !

  • RELEVANCY SCORE 3.10

    DB:3.10:Please Help kj


    Dear All,
    I want to call an Servlet whenever specific browser window is closed by clicking the close button(So that I can update a database field) . Please let me know how this can be done.
    Saibal

    DB:3.10:Please Help kj

    Haii
    U can put an applet inside ur html page, in the destroy() method u can call your servlet to update the field of your db..

    Regards
    Shanu

  • RELEVANCY SCORE 3.10

    DB:3.10:Closing Window On Taskbar dz


    I have Windows XP. When I attempt to close a window on the taskbar by right clicking the window, the window opens. Can I close a window without opening it? I'm pretty sure I used to be able to. Thanks.

    DB:3.10:Closing Window On Taskbar dz

    Hi CrowHillGuy,
    · Have you made any changes on the computer prior to the issue?
    · Which version of Windows XP are you using?
    Follow these methods.
    Method 1: Perform a scan using Microsoft safety scanner.
    http://www.microsoft.com/security/scanner/en-us/default.aspx
    Method 2: Run the System File Checker (SFC) scan to fix any corrupted files.
    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)
    http://support.microsoft.com/kb/310747
    Method 3: Follow the steps:
    Step 1: Boot the computer in safe mode and check if the issue persists.
    A description of the Safe Mode Boot options in Windows XP
    http://support.microsoft.com/kb/315222
    Step 2: If the issue does not persists in safe mode, perform a Clean Boot to see if there is any software conflict as clean boot helps to eliminate software conflicts.
    How to configure Windows XP to start in a "clean boot" state
    http://support.microsoft.com/kb/310353
    Note: After performing the troubleshooting steps in clean boot, follow
    Steps to configure Windows to use a Normal startup state section from the link to return the computer to
    Normal startup mode.
    After you used the clean boot to resolve the problem, you can follow these steps to configure Windows XP to start normally.
    a) Click Start, run.
    b) Type msconfig, and then click OK.
    c) The System Configuration Utility dialog box is displayed.
    d) Click the General tab, click
    Normal Startup - load all device drivers and services, and then click OK.
    e) When you are prompted, click Restart to restart the computer.
    Method 4: Follow the steps:
    a) Start Group Policy Editor (Start Run “gpedit.msc”)
    b) In the left panel, go to
    Administrative Templates Windows Components Windows Explorer
    c) In the right panel, uncheck "Remove Windows Explorer’s default context menu.”

  • RELEVANCY SCORE 3.10

    DB:3.10:When I Close Ie Either By Clicking On The X In The Last Open Tab Or Clicking The X In The Upper Right Corner Of The Window, Ie Closes And Then Reopens. pc


    I AM RUNNING WINDOWS 7 WITH IE VER 9.0.8112.16421 WITH UPDATE 9.0.6 (KB2675157). When I close IE either by clicking on the X in the last open tab or clicking the x in the upper right corner of the window, IE closes and then reopens. When I close it
    the 2nd time is stays closed. How to I stop this auto restart?

    DB:3.10:When I Close Ie Either By Clicking On The X In The Last Open Tab Or Clicking The X In The Upper Right Corner Of The Window, Ie Closes And Then Reopens. pc

    William

    Try doing a Clean Boot this will see if a perhaps a 3rd party program could be causing IE to open again when trying to close.
    Clean Boot for Win 7 and Vista

    If that doesn't work then create a new User Account in Windows and try to repro the issue you're having in Internet Explorer.

  • RELEVANCY SCORE 3.09

    DB:3.09:How To Close Mdi Child Window By Double Clicking On The Icon In The Title Bar fk


    How to close the MDI Child window created in win32 by double clicking on the icon in the title bar(caption bar).I am trying to handle the MDI child Window using MFC. We are not able receive the SC_CLOSE message after clicking on the MDI child window icon.
    We are however able to receive SC_MOUSEMENU message which is generated by single clicking the on the icon. I guess that the window is not able to differentiate between the single click and double click on the icon.

    DB:3.09:How To Close Mdi Child Window By Double Clicking On The Icon In The Title Bar fk

    Well, default implementation works just as you need: double click on the icon, closes a window. Single click, invokes a system menu and choosing Close will close
    a window.
    Why would you want to handle a system message? There is no need for any changes.
    Besides all, neither SC_CLOSE nor SC_CLOSE are messages. Both, and the rest of SC_xxx are system commands send as parameter with WM_SYSCOMMAND.
    Did I miss something?JohnCz - MVP VC

  • RELEVANCY SCORE 3.09

    DB:3.09:Progress Window In Oracle Forms. xs


    Hi all,
    I am getting one more issue in Costume form in Oracle Apps R12.
    When I am closing the Form from front end by clicking the close button the Progress window is coming and not able to close that window also.
    Please help me how to suppress the Progress window.menace it should not come at all when I close the form.

    Thanks
    Nihar

    DB:3.09:Progress Window In Oracle Forms. xs

    Hi Nihar;

    For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home Application Development in PL/SQL Forms
    which you can get more quick response

    Regard
    Helios