< Back

Document Subject: View Icon Helper
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#ViewIconHelper or http://A555F9/nn.nsf/ByAlias/ViewIconHelper

Icons look great in a view, but they can be a bit confusing to users. Adding a key can help. Here are two ways.




You can a add a key to the bottom of your navigator, which will apply to all views.

 

You can alternatively add a key dialogue box to your views.

Here is how I do it:

We want to create a dialogue box on the screen which would hopefully work on the web as well, if you open a dialogue box with an empty document you can get the error message:

DialogBox cannot be used in this context; a document must be selected .

I suspect that in Notes 6 if you try and open a non existent form, a typo form name or a form with or by an alias you also get this error message. Annoying.

NB Another reason for getting this error message is if you specify a sub form name instead of a form in lotusscript. SubForm works with @Dialogbox.

You cannot be sure the user has selected a document, it could be a category, so one way around this is to create an empty document first.

To create a small window, I use the size to table option.

Put this LotusScript code into a share action:

 Dim s As New notessession
Dim db As notesdatabase
Set db = s.currentdatabase

Dim doc As notesdocument
Set doc = New notesdocument(db)

Dim uiw As New notesuiworkspace
Call uiw.DialogBox("ViewHelp",True,True,True,False,True,True,"Help",doc,True,False,False)

 

Then create a form with a table with three columns:

Column Header   Description     Icon and Explanation

You could create a form for each language used by your customers to make itreally useful.