DstHiValue

<< Click to Display Table of Contents >>

 

DstHiValue

Number This property specifies the highest value reached by the property. Example:

Sub DstHiValue_ValueChange()
  On Error Resume Next
  Dim Bind
  Set Bind = Screen.Item("ScrollBar1").Links.Item("Value")
  Screen.Item("ScrollBar1").Max = Value
  If Bind Is Nothing Then
    MsgBox "ScrollBar1 has no link."
  Else
    MsgBox "ScrollBar1 is linked to " & Bind.Source & "'"
    MsgBox "Changing DstHiValue from " &_
      Bind.DstHiValue & " to " & Value
    Bind.DstHiValue = Value
  End If
End Sub

Was this page useful?