CSNCurrent en:Procedure for using the focus colour in the input fields of the HCL Standard mail

Aus Cryptshare Documentation
Wechseln zu:Navigation, Suche

The input fields in the standard mail mask are part of the HCL Mail template.

As of version 11, these input fields are arranged in a table. This helps at this point the use of the focus colour, which can be defined in the integrated Cryptshare for Notes section.

The following steps describe the procedure to make the focus colour also usable for the input fields from the HCL Mail template.

Please note that the background colour in the mail integration is only activated when the section for Cryptshare for Notes has been set to active.

Step 1

In the table cell where the input fields for the recipients (SendTo, CopyTo, BlindCopyTo) and the subject (Subject) are located, enter the following formula as background graphic:

Berechnete Hintegrundgrafik.png

@If(currentField="SendTo";FocusColor;"")

Make sure that the name of the input field for the highlighted formula area is the same as the name of the field that is in the table cell. Also ensure that the background image is set to “size to fit” (better for performance).

Step 2

In the field itself, the following script block must be added for the "Entering" event:

Set ws = New NotesUIWorkspace
Call ws.CurrentDocument.Document.ReplaceItemValue("currentField", "SendTo")
Call ws.CurrentDocument.Refresh()

Again, make sure that the name of the input field for the highlighted script area matches the name of the field that is entered by the "Entering" event.

Step 3

The following script block must also be added for the "Exiting" event:

Set ws = New NotesUIWorkspace
Call ws.CurrentDocument.Document.ReplaceItemValue("currentField", "")
Call ws.CurrentDocument.Refresh()

Nothing else needs to be done at this point, because when the field is exited, the value for the field currently in focus is cleared.