| Back | Main view | Parent doc

View button

Let's take a look at the code under View button:

Sub Click(Source As Button) End Sub

Declaration:

Function IMiSViewObject (SelectedDoc As NotesDocument, EditAccess As Integer) As Integer

Return Value:
0 - everything is OK. Scan process has finished with no errors.
-1 - scan process has finished with errors. Most of the errors are reported to user.

As we can see, we have some new features even inside parameters of IMiSViewObject function. And of course, as already mentioned, developer is able to put some LotusScript code right before or after scanning process - for example:


| Back | Main view | Parent doc