Examples: HorzScrollBar property

This script hides the horizontal scroll bar when the user leaves a particular field.

Sub Exiting(Source As Field)
  Dim workspace As New NotesUIWorkspace
  Dim uidoc As NotesUIDocument
  Set uidoc = workspace.CurrentDocument
  uidoc.HorzScrollBar = False
End Sub