Skip to content

SelectRange Method

Description

This member function sets the selection for a date picker control to a given date range. This will "highlight" the dates in the given range.

Syntax

Public Sub SelectRange( _
    ByVal [DateMin](#) As Date, _
    ByVal [DateMax](#) As Date _
)

Parameters

  • DateMin: A pointer to a Date (VB 6) or DateTime (.NET) object containing the date at the lowest end of the range.
  • DateMax: A pointer to a Date (VB 6) or DateTime (.NET) object containing the date at the highest end of the range.

Remarks

If the AllowNoncontinuousSelection property is True, then multiple selection blocks can be selected at the same time.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.