Link to home
Start Free TrialLog in
Avatar of jforget1
jforget1

asked on

Popup on open of View?

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?
ASKER CERTIFIED SOLUTION
Avatar of daj_uk
daj_uk
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jforget1
jforget1

ASKER

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

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

Worked great, thanks for the help.