Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Popup on open of View?

Posted on 2009-04-08
4
Medium Priority
?
213 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 2000 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
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.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

609 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