Solved

Closing UIDocument problem

Posted on 2004-08-05
5
302 Views
Last Modified: 2013-12-18
Hi all,

I have a database which will launch a frameset(contains 4 frames) when opening.
1) I display a view in the centre frame, and the document selected/highlighted in the view will be displayed in the bottom frame.
2) I have 1 action button (called Import) on the document which will display a dialogbox for user to import something.
3) The system will read data from a CSV file and show the data on a new document for user to compare, before importing.
4) If user clicks Confirm Update button on the new document, the system will start processing.
5) And once updating data is done, the system will close the window.

So, my problem is:
1) If the user clicks the Import button when the document is displayed in the bottom frame, I will have only 1 window screen(which is my db screen). So when the updating is done, the whole application is closed automatically.
2) However, if the user opens the document in full screen, and cliicks the Import button, then I will have 2 window screens (1 is db screen, 1 is the UIDoc screen), so after importing, only the UIDoc screen is closed, the application is still opening.

My question is, can I detect it that the document is in the bottom frame or in full screen when the user clicks the Import button?

Thanks very much in advance.

~kspuea
0
Comment
Question by:kspuea
  • 2
  • 2
5 Comments
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 11732412
Yes you can... Check InPreviewPane property of uidoc

~Hemanth
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 11733597
Please read also http:Q_20877251 and http:Q_20796876

So I would say "No, this is not possible". The only thing you can try is to explicitly use the TargetFrame possibilities mentioned in Frames and Pages, or the @SetTargetFrame function. But if you find a way to handle your problem in a more or less general way, I'd really love to read about it!
0
 

Author Comment

by:kspuea
ID: 11759378
Hi Hemanth, nope, I have tried that method, it doesn't work.

sjef_bosman, I can't use TargetFrame methods...
Well, I will keep on trying. If I can get a workaround, definitely will let you guys know.

Thanks very much!

~kspuea
0
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 50 total points
ID: 11762846
Instead of showing a frame.. enable preview and deal it that way
0
 

Author Comment

by:kspuea
ID: 11948256
Can achieve by HemanthaKumar's method.
However, I need to change abit of my programs.  :)

~kspuea
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to Open Lotus Notes:// links in web browser 3 1,610
Find and delete local contacts in names.nsf 5 200
IBM Domino web server 5 69
Cannot access mail archive from IBM domino 5 108
For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question