Partager via


RangeHigh Event

For a spinner or text box, occurs when the control loses the focus. For a combo box or list box, occurs when the control receives the focus.

PROCEDURE Object.RangeHigh
[LPARAMETERS nIndex]

Parameters

  • nIndex
    Uniquely identifies a control if it is in a control array.

Remarks

A RangeHigh event can return a numeric value to Microsoft Visual FoxPro through a RETURN statement. For a spinner or a text box with a numeric value, if the value returned to Visual FoxPro is less than the value entered in the control, the control retains the focus. For a combo box or list box, the value returned to Visual FoxPro specifies which item in the control is initially selected, For example, if 2 is returned to Visual FoxPro, the second item in the control is initially selected.

See Also

KeyboardHighValue, KeyboardLowValue Properties | RangeLow Event | RETURN | SpinnerHighValue, SpinnerLowValue Properties,

Applies To: ComboBox | ListBox | Spinner | TextBox