Solved

Popup on open of View?

Posted on 2009-04-08
4
201 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
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
daj_uk earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Worked great, thanks for the help.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now