<< Click to Display Table of Contents >>
EnableLimits |
Indicates if there is a check on text limits. When this property is equal to True, and users insert a non-number value or a value outside the limits defined in the MinLimit and MaxLimit properties, an error message is displayed (the IsSetPoint property must be equal to True). Example:
Sub CommandButton1_Click()
Screen.Item("Text1").EnableLimits = _
Not(Screen.Item("Text1").EnableLimits)
End Sub