Closing the document closes the application

Hi

I have a frameset with 2 frames ( a left fram from top to bottom and a big middle frame. In the left frame thre is a page with an embedded outline. The embedde douline only opens views in the middle frame. When I open a document it opens only in the middel frame. But when I close the document the whole application is closed because the document is allways opened in the middle frame.

I would like to open a document in the middle frame. And when the user clicks on the close button( or press the ESC bbutton) that the applicaion goes back to the view from where the document is openen.

How can I do this?

Regards

Subject: Closing the document closes the application

In your close button, set the frame focus to your middle frame, then open the view. I don’t have access to my client right now so you’re going to have to do the leg work on this one.

HTH

Doug

Subject: Closing the document closes the application

So you want to change the UI of Notes? Confuse the h*ll out of your users? That is considered bad practice…

I’m not sure if you can capture the ESC key at all in Notes, so that’ll probably always close the application. For the action button, you are probably using the @Command([FileCloseWindow]), which does exactly that, closes the window. You’ll need to replace it with @Command( [OpenView] ; viewName ; key ; newinstance ) instead.

/Peter