Solved

Popup on open of View?

Posted on 2009-04-08
4
209 Views
Last Modified: 2013-12-18
Looking ot figure out a way to have an informational popup happen when a user open a paricular view. Is there a way to add code to the button to the view in the outline? Or could I put something in the QueryOpen that will generate a popup window when they enter the view?
0
Comment
Question by:jforget1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
daj_uk earned 500 total points
ID: 24098228
You could put something in the PostOpen event of the view.  Example

      Dim workspace As New NotesUIWorkspace
      Dim askme As Integer
      askme = workspace.Prompt(PROMPT_OK, "Reminder", "A message here")

However, if the view is in a frameset it may show the message twice, but not always!
0
 

Author Comment

by:jforget1
ID: 24098728
This works for what I need, one last item. How can I convert this so the alert is on two lines in the prompt window.
Sub Postopen(Source As Notesuiview)
	Dim workspace As New NotesUIWorkspace
	Dim askme As Integer
	askme = workspace.Prompt(PROMPT_OK, "Note about Upgrade View", "This view will show all requests for BlackBerry upgrades. The form to request the upgrade is available from the New button in the left hand navigation. ")
End Sub

Open in new window

0
 
LVL 5

Expert Comment

by:daj_uk
ID: 24099132
Add a Chr(10) to force a new line.....



Sub Postopen(Source As Notesuiview)
        Dim workspace As New NotesUIWorkspace
        Dim askme As Integer
        askme = workspace.Prompt(PROMPT_OK, "Note about Upgrade View", "This view will show all requests for BlackBerry upgrades. " + Chr(10)+ "The form to request the upgrade is available from the New button in the left hand navigation. ")
End Sub

Open in new window

0
 

Author Closing Comment

by:jforget1
ID: 31568079
Worked great, thanks for the help.
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
DAOS - Backup / Restore 2 206
Send email and attachment (Lotus notes) 55 260
Bulk lotus notes account creation 3 105
Lotus Domino server 9 7 91
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…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

738 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