piDogDataView.DataView.prepareDatePicker

Scope: Public
Event prepareDatePicker(row as integer, column as integer, byref minDate as date,byref maxDate as date, byref todayButton as Boolean)
Called before a datePicker is displayed. Use this event to set the minDate as maxDate for the selected cell. Both values are initially nil, and must be set to new date values to limit available dates.


Example:

//some examples to show how a date picker can be configured
//mac and windows only

minDate=new date
minDate.Day=row

maxDate=new Date
maxDate.Month=8
maxDate.day=row

todayButton=false