
This method will select a range of dates.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_Month_SetSelRange MyControlReference [as Reference] (list LowestDateYear [as Integer] LowestDateMonth [as Integer] LowestDateDay [as Integer]) (list HighestDateYear [as Integer] HighestDateMonth [as Integer] HighestDateDay [as Integer])) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_Month_SetSelRange ProjectFile [as String] DialogName [as String] ControlName [as String] (list LowestDateYear [as Integer] LowestDateMonth [as Integer] LowestDateDay [as Integer]) (list HighestDateYear [as Integer] HighestDateMonth [as Integer] HighestDateDay [as Integer])) |
Copy Code |
|---|
; Set the selection as a range (Odcl_Month_SetSelRange MyProject_MyForm_MyControl (list 2009 12 24) (list 2009 12 31)) |